I've set up Gamecenter for my app and added GameKit.framework to the libraries and GameCenter to the capabilities in the xcode project. I used Unity's Social API to implement the Achievements and Leaderboard features of GameCenter. When I go to build it in xcode, I am getting 200+ linker errors in the following format:
`Undefined symbols for architecture armv7:
"_TurnBasedMultiplayerManager_TurnBasedMatchesResponse_Dispose", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_TurnBasedMultiplayerManager_ShowMatchInboxUI", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_TurnBasedMultiplayerManager_Rematch", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
"_TurnBasedMultiplayerManager_PlayerSelectUIResponse_GetPlayerIds_Length", referenced from:
RegisterMonoModules() in RegisterMonoModules.o`
As far as I can tell, all of them are related to Game Center. By the sheer number of errors, it looks to me like the GameKit.framework is not getting linked properly, but the capabilities page says that it is set up correctly.
I've tried re-exporting from Unity and re-importing the GameKit framework, but so far nothing has fixed the issue.
Is there something else I need to import besides the GameKit framework? Is there some linker setting I am missing? Or perhaps some step in the set up that I didn't get?
Thanks!!
↧