__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