Play-games-plugin-for-unity: Building iOS with NO_GPGS

Created on 19 Oct 2016  路  5Comments  路  Source: playgameservices/play-games-plugin-for-unity

After upgrading to version 35 with NO_GPGS have wrong plugin behaviour:

  • pod command executes for iOS build
  • some Google libraries are included to xcode project
iOS

Most helpful comment

What worked for me was changing
#elif UNITY_IOS
to
#elif UNITY_IOS && !NO_GPGS
on line 96 of GPGSDependencies.cs.

This removes the addition of GooglePlayGames dependency to the build while still allowing other packages to use the resolver.

All 5 comments

Same problem here too: Unity 5.4.2

@kamend You have to remove this before building (till bugfix):
Assets/GooglePlayGames, Assets/PlayServicesResolver, Assets/Plugins/iOS/GPGSAppController

What worked for me was changing
#elif UNITY_IOS
to
#elif UNITY_IOS && !NO_GPGS
on line 96 of GPGSDependencies.cs.

This removes the addition of GooglePlayGames dependency to the build while still allowing other packages to use the resolver.

@DennisATA, cool fix, thanks!

This is merged into the unitypackage, version 0.9.36

Was this page helpful?
0 / 5 - 0 ratings