__gplaySetReceivedDataCallback = Prime31 Google Play Game Services Plugin causing problems when trying to compile on Xcode?
Are you trying to fix this error below?
Undefined symbols for architecture armv7:
“__gplaySetReceivedDataCallback“, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If you’re like me and have only the Google Play Game Services Plugin for Android and not for iOS, don’t worry: it’s a stupid thing with a stupid fix:
Change this code #if UNITY_IPHONE || UNITY_ANDROID in your GPGMultiplayerManager.cs class by removing the UNITY_IPHONE || part and you’ll be just fine.
Thank you Prime31 🙂 You could have detailed this shit better* on your docs but thankfully you have a support forum and I found the fix there 😉
* Actually there’s something about this, but not exactly about this here
THANK YOU ! Finally I found the answer to that DAMN bug.
I particularly agree with you on the “THANK YOU PRIME31”. Thank you for all the time lost and frustration acquired…
This post is faved and your blog too 😉
C U
Thank you for commenting 🙂
Thank you. I hate linker errors!
Thank you!!! Total lifesaver. So happy I found this
Thank you for visiting and commenting. I’m glad to help!
Just to say: THANK YOU VERY FUCKING MUCH!