playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.43k stars 953 forks source link

Error when building for IOS even with NO_GPGS #3274

Open s1gh7 opened 7 months ago

s1gh7 commented 7 months ago

Hello,

I integrated the plugin for my Unity Android Build and everything works fine there. Pretty cool plugin btw. But today, i switched back to iOS to work on and the iOSResolver kicks in with the following error

`Failed to install CocoaPods for the current user.

It will not be possible to install Cocoapods in the generated Xcode project which will result in link errors when building your application.

For more information see: https://guides.cocoapods.org/using/getting-started.html

'gem install activesupport -v 4.2.6 --user-install' failed with code (1): Building native extensions. This could take a while...

WARNING: You don't have /Users/username/.gem/ruby/2.6.0/bin in your PATH, gem executables will not run. ERROR: Error installing activesupport: ERROR: Failed to build gem native extension.`

I suspect the iOSResolver is part of the plugin. So, I tried to deactivate the plugin in the Player Settings with NO_GPGS for the iOS build. However, the iOSResolver still attempts to work and generates the error message every time I save the project or try to build it.

How can I completely deactivate the plugin for my iOS build?

Im working on an M1 Macbook OSX 13.6 Unity 2021.3.24.

Versions

Thanks for your help, Stephan