我已经在我的应用程序中应用Firebase Crashlytics。我在运行脚本中,在Xcode中的Build Phases下实现了以下内容:
我也配置到构建设置:
和Xcode构建时收到的消息:Running upload-symbols in Build Phase mode
Validating build environment for Crashlytics...
Validation succeeded. Exiting because upload-symbols was run in validation mode Fetching upload-symbols settings...
Command PhaseScriptExecution failed with a nonzero exit code
是否有人成功地在他们的运行脚本中实现了upload-symbols脚本?你知道为什么我的“构建”会拖延而且永远不会完成吗
3条答案
按热度按时间1l5u6lss1#
你不需要“调用upload-symbols”(脚本中的第二行),你应该只调用“run”。对于运行,还为脚本添加2个输入文件:
您还可以添加--debug参数来运行,以验证它是否找到正确的dsym文件位置“${PODS_ROOT}/FirebaseCrashlytics/run --debug”
如果您查看Firebase\FirebaseCrashlytics\run,您将看到以下内容:
zc0qhyus2#
几天前我遇到了同样的问题,升级Firebase到最新版本解决了这个问题。
rbpvctlc3#
//参见项目“granite”
错误:
修复:
1-更新项目依赖包
2-使您的flutter版本是最后更新稳定版本
3-更新你的mac和xcode到最新版本
4-flutter clean和pub get命令
5-首先删除旧pod:
6-净Flutter
7-重新安装pod