添加firebase后,命令PhaseScriptExecution失败并返回非零退出代码

问题描述 投票:0回答:3

我安装firebase podfile后出现此错误:

Build/Products/Debug-iphonesimulator/Guess The Code 2.app/Frameworks/GoogleUtilities.framework'

我试过这个:Xcode 10 Beta 3: Command PhaseScriptExecution failed with a nonzero exit code但没有任何改变。我还尝试单独安装GoogleUtilities pod,但错误仍然存​​在。我能做什么?

Podfile

pod 'Google-Mobile-Ads-SDK'
pod 'GoogleMobileAdsMediationUnity'
pod 'GoogleMobileAdsMediationAppLovin'
pod 'SAConfettiView'
pod 'Firebase' 

Xcode 10 beta 6 Swift 4.2

swift firebase xcode10 xcode10beta6
3个回答
1
投票

我有同样的问题。 我设置了'测试目标签名团队',我解决了这个问题。


1
投票

此问题可能与钥匙串服务相关联。要解决打开的钥匙串锁定登录并通过输入mac密码再次取消它。


-1
投票

某些框架或SDK需要代码签名。所以可能是Firebase需要Enable Development Signing

我完成了代码签名并为我解决了类似的问题.enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.