gpt4 book ai didi

ios - Unity Google Play 游戏插件无法在 Xcode iOS 中编译

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:18:05 27 4
gpt4 key购买 nike

每当我尝试在 Xcode 中编译我的 Unity 游戏时,我都会收到 3 个来自 Unity Google Play 游戏插件的编译错误:

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

我不知道为什么会这样,我正确地遵循了所有设置说明。任何帮助将不胜感激!

最佳答案

一个问题是他们最近在最近的更新中更改了库中的许多方法名称...

这有可能让你抓到了吗?

很难解决这个问题,但是我在这里找到了一些关于这个的讨论,

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

在 iOS 上比在 Android 上更容易一些。


或者:请注意,您基本上没有包含 GooglePlayGames.h 文件。包括指向您遵循的“哪些”说明的链接,以猜测哪一步有问题。 (大多数 Unity 插件 - 像 Prime31 - 都有一个“预处理器”阶段,可以为你做这个,或者在 Android 的情况下填充该死的 list 。那个阶段出了问题。)

关于ios - Unity Google Play 游戏插件无法在 Xcode iOS 中编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24146734/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com