【发布时间】:2019-12-18 10:19:00
【问题描述】:
在从 react native 0.59 升级到 0.60 之前,一切都很好。
Xcode 10.3 编译错误:
/bin/sh -c myApp.build/Script-6C5554832063F4750081EA9D.sh
error: Could not get GOOGLE_APP_ID in Google Services file from build environment
** ARCHIVE FAILED **
在升级 firebase 和 react native 之前一切正常。
我有一个工作的 /ios/GoogleService-Info.plist
在我项目的构建阶段> 运行脚本
"${PODS_ROOT}/Fabric/run"
文件:包:json
"react": "^16.9.0",
"react-native": "^0.60.4",
"react-native-firebase": "^5.5.6",
文件:Podfile
pod 'Firebase/Core', '~> 6.3.0'
pod 'Firebase/Messaging', '~> 6.3.0'
pod 'Fabric', '~> 1.10.2'
pod 'Crashlytics', '~> 3.13.2'
在从 react native 0.59 升级到 0.60 之前,一切都很好。
谁能告诉我还有什么可以检查的?
【问题讨论】:
-
我想我们应该问问 Firebase 团队。
标签: ios xcode react-native crashlytics react-native-firebase