我是Unity iOS开发新手,希望在我的Unity应用中包含Google Play服务。我已经下载了Unity软件包(安装了Cocoa,确保我的Pod文件设置正确等)。GoogleSignIn/GIDSignIn.h文件未找到
但是,当我构建我的应用程序时,我找不到GoogleSignIn/GIDSignIn.h文件。
到目前为止,我已经试过:
安装 '谷歌/签到' 使用可可(抛出一个无效的名称 异常)
链接的GoogleSignIn通过捆绑链接的Xcode 库(无差别)
升级所有软件包(与Google/Signin中相同)添加 $(继承)来连接标志(无变化)
- 检查架构搜索路径,标题搜索路径
荚文件:
平台:IOS, '9.0'
target'Unity-iPhone'
pod'GooglePlayGames','〜> 5.0'
end
post_install do | installer |
installer.pods_project.targets.each do | target |
target.build_configurations.each do | config |
config.build_settings [ 'ENABLE_BITCODE'] = 'NO'
端结束端
我通过这个链接:
- “GooglePlus/GooglePlus.h file not found” when trying to build my project
- https://github.com/playgameservices/play-games-plugin-for-unity/issues/1526
- https://github.com/playgameservices/play-games-plugin-for-unity/issues/1460