When I build in Xcode, there are some error like this :
Undefined symbols:
“UnityGetGLViewController()”, referenced from:
-[GameCenterManager getViewControllerForModalPresentation:] in GameCenterManager.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
The only function I need in my app is show leaderboard and post score to leaderboard .
And I succeeded in building prime31’s test scene, but when I used it in my own scene, I always get this error when building in Xcode.
Anyone could please tell me what’s wrong with it.
Thank you very much!