Error in game service on Google Play on iOS

I get this error:

ERROR: GPGSAppController.mm GIDSignIn.h File Error Not Found

I use the Google Play Game plugin for Unity for leaderboards and achievements, and everything works fine in Android, but when I create iOS and try to run my project on an iOS device. I keep getting this error, and I could not find a solution for it for several hours.

I tried to remove everything related to the Google Play service (after creating the backup, of course), and the application is installed and working fine, except that it is a bit backward, but this is another problem. Therefore, I am sure that the problem is related to the Google Play service, but I do not know how to fix it. Again I am new to Xcode and iOS in general and even on Mac.

I also get this message after creating a project in Unity:

FINISH CONFIGURATION OF THE EXPORTED XCODE PROJECT

  • Add this framework:

    AddressBook.framework
      AssetsLibrary.framework
      CoreData.framework
      CoreTelephony.framework
      CoreText.framework
      Security.framework
      LibC ++. dylib
      libz.dylib

  • Add the following packages and frameworks from the Google Plus and Google Play Games C ++ SDKs. They can be downloaded from https://developers.google.com/games/services .

    GoogleOpenSource.framework
      GoogleSignId.bundle
      GoogleSignId.framework
      gpg.bundle
      gpg.framework

    . , . " /".

  • '-ObjC'. , Unity-iPhone, "". '-ObjC' .

** . Unity 4.6.8 .

ios_instructions

, - , iOS. .

+4
2

Im , # 1 xcode, , libs

# 3

, :), №2, ;)

-1

@aimozs , , , ;

( , )

AddressBook.framework
AssetsLibrary.framework
CoreData.framework
CoreTelephony.framework
CoreText.framework
Security.framework
Lib++. dylib
libz.dylib

. ( libc++.dylib libz.dylib , - , xcode .

GoogleOpenSource.framework

:
https://developers.google.com/+/mobile/ios/getting-started#step_1_creating_the_console_name_project

GoogleSignId.bundle
GoogleSignId.framework

:
https://developers.google.com/identity/sign-in/ios/sdk/
( Google Sign-In SDK 3.0.0)

gpg.bundle
gpg.framework

:
https://developers.google.com/games/services/downloads/sdks
( Play Games C++ SDK Version 2.1)

, :

,

, .

: CocoaPods podfile!

podfile xcode!.
; , : https://github.com/playgameservices/play-games-plugin-for-unity#ios-setup

. https://cocoapods.org/

sudo gem install cocoapods
pod repo update
pod install
open Unity-iPhone.xcworkspace

, !;)

: bitecode, GoogleOpenSource:

( Xcode ENABLE_BITCODE)

, bitcode : ENABLE_BITCODE xcode 7?

, !

:
http://forum.unity3d.com/threads/googleplus-googleplus-h-file-not-found-gpgsappcontroller-mm-xcode.294398/

UnityAnswers:
http://answers.unity3d.com/questions/1098655/gpgsappcontrollermm-gidsigninh-file-not-found-erro.html

+2

Source: https://habr.com/ru/post/1615976/


All Articles