iOS上的Google Play游戏服务出错

我收到此错误:

ERROR: GPGSAppController.mm GIDSignIn.h File not found error

我使用Google Play Game Service plugin for Unity作为排行榜和成就,并且每个东西都在android中工作正常但是当我构建到IOS并尝试将我的项目运行到iOS设备时,我一直收到此错误,我几个小时都找不到它的解决方案现在.

我试图删除与Google Play服务相关的所有内容(当然创建了备份后)并安装了应用程序并且工作正常,除了它有点滞后但这是另一个问题.所以我确定问题来自Google Play服务,但我不知道如何解决它.我再次成为Xcode和iOS开发的新手,甚至是Mac.

在Unity中构建项目后,我也收到此消息:

TO FINISH CONFIGURING THE EXPORTED XCODE PROJECT

  1. Add these frameworks:

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

  2. Add the following bundles and frameworks from the Google Plus
    and the Google Play Games C++ SDKs. These can be downloaded from
    07001.

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

    Note: Make sure the bundles are copied to application. This can be
    verified under Build Phases/Copy Bundle Resources.

  3. Add the ‘-ObjC’ linker flag. To do this, select the top-level project
    object, select the ‘Unity-iPhone’ build target, then go to the
    Build Settings tab. Search for Other Linker Flags and add
    the ‘-ObjC’ flag to that list.

** Note: To run in the simulator, use Unity 4.6.8 or greater.

ios_instructions on plugin repository

但我不知道如何做以上任何事情,因为我不熟悉iOS开发.任何帮助表示赞赏.

最佳答案 我正在经历这个问题,对于#1,它必须在xcode中完成,这里是如何添加 libs的屏幕截图

that是#3

希望有帮助:)当我发现它时,我会回复你#2;)

点赞