Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 52

Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
06/04/13 09:53 AM (12 years ago)

Game Center Error i386

Hi All, Has anyone else experienced this error when adding Game Center? Undefined symbols for architecture i386: "_OBJC_CLASS_$_GameCenterManager", referenced from: objc-class-ref in BT_viewController.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) GameKit.framework is added Thanks, Jake
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
06/04/13 10:03 AM (12 years ago)
Speak with Absentia, he has successfully added Game Centre to his apps.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
06/04/13 10:28 AM (12 years ago)
Where does Xcode show the error?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
06/04/13 11:54 AM (12 years ago)
Upon compiling. It does not show me what code file. Could this be a quote character error? (I have checked and found none) Jake
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
06/04/13 12:22 PM (12 years ago)
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
06/04/13 03:09 PM (12 years ago)
It worked! Here is the solution: All of the Game Center files must be added to the "Target" when imported. Jake
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.