error: Undefined symbol: _OBJC_CLASS_$_GKLocalPlayer

1,854 views
Skip to first unread message

Jeevan Shrestha

unread,
Jan 25, 2022, 1:28:48 PM1/25/22
to Firebase Google Group

I integrated firebase into my cocs2dx project with firebase_cpp_sdk following the firebase docs guidelines. I installed the firebase through cocoapods, but while building for iOS device(ipad4). ( I'm using Xcode Xcode 12.4)
I’m getting this errors: how do I solve it? 

Undefined symbols for architecture armv7:

  "_OBJC_CLASS_$_GKLocalPlayer", referenced from:

      objc-class-ref in firebase_auth(credential_ios.mm.o)

ld: symbol(s) not found for architecture armv7

paulbeu...@google.com

unread,
Jan 26, 2022, 8:44:52 PM1/26/22
to Firebase Google Group
You may need to explicitly add linkage of the GameKit framework to the build.
Reply all
Reply to author
Forward
0 new messages