Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity Google Play Games Plugin Won't Compile in Xcode iOS

Whenever I try to compile my Unity game in Xcode I get a 3 compile errors which are coming from the Unity Google Play Games plugin:

GPGSAchOrLbDelegate.h - Lexical or Preprocessor Issue 'GooglePlayGames/GooglePlayGames.h' file not found

GPGSRealTimeRoomDelegate.h - Lexical or Preprocessor Issue 'GooglePlayGames/GooglePlayGames.h' file not found

GPGSManager.h - Lexical or Preprocessor Issue 'GooglePlus/GooglePlayGames.h' file not found

I've no idea why this is happening, I followed all the setup instructions correctly. Any help would be greatly appreciated!

like image 638
bbeckford Avatar asked Feb 12 '26 15:02

bbeckford


1 Answers

one gotchya is they recently changed many of the method names in the library, in a recent update...

it's possible this has caught you out?

It's very hard to resolve this, but I found some discussion about this for example here,

http://answers.unity3d.com/questions/679424/google-play-games-plugin-for-unity-not-authenticat.html

it's a bit easier on iOS than Android.


Alternately: note that, essentially, you have not included the GooglePlayGames.h file. Include the link to "which" instructions you were following, to guess which step is problematic. (Most Unity plugins - like Prime31 - have a "preprocessor" stage that does that for you or in the case of Android fills in the damned manifest. Something is going wrong at that stage.)

like image 180
Fattie Avatar answered Feb 16 '26 01:02

Fattie



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!