Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
03/21/12 04:46 PM (13 years ago)

trying to implement game center - strange error - help?

I've been following the detailed tutorial about how to implement game center into a 1.5 quiz. Has this method been tested with the newest version of Xcode? I followed the instructions and have no errors in my code - when I try to test it on my device I get the following error -- Undefined symbols for architecture armv7: "_OBJC_CLASS_$_GameCenterManager", referenced from: objc-class-ref in BT_viewController.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) I don't understand this - I definitely added the game kit framework...any ideas?
 
XboxMods
buzztouch Evangelist
Profile
Posts: 718
Reg: Oct 28, 2011
location unknow...
12,080
like
03/21/12 04:51 PM (13 years ago)
Go to your project, click on Build phases, Compile sources, Add GameCenterManager.m to the list.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/21/12 05:22 PM (13 years ago)
wow fast response and that totally fixed the issue..thanks! What's the deal with sandbox mode? Is that just the testing version of game center?
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
03/21/12 06:17 PM (13 years ago)
Yeah, sandbox is a funny one. Can be fixed with a sign out, add image and sign back in. Google remove sandbox in game centre and you'll find the fix and see all other users scores.
 

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.