本文介绍了IOS上传符号文件崩溃报告失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照指南设置了firebase崩溃报告,当我运行我的项目时,出现以上错误



以下是我的脚本

  echo### hello world
GOOGLE_APP_ID = 1:688585241582:ios:0203552cad37c112
echo## #hello google
$ {PODS_ROOT}/ FirebaseCrash / upload-sym$ {PROJECT_DIR} /ServiceAccount.json
echo### hello


解决方案

在构建阶段启用仅在安装时运行脚本。然后它会按预期运行。这样可以避免每次运行系统时上传脚本。



请参考附件截图。




I follow the guide to set up firebase crash reporting and when I run my project get above error

and following is my script

echo "### hello world"
GOOGLE_APP_ID=1:688585241582:ios:0203552cad37c112
echo "### hello google"
"${PODS_ROOT}"/FirebaseCrash/upload-sym "${PROJECT_DIR}/ServiceAccount.json"
echo "### hello"
解决方案

Enable "Run Script only when install" in build phases. Then it'll run as expected. This will avoid to upload the script each time when run the system.

Please refer attached screen shot.

这篇关于IOS上传符号文件崩溃报告失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-17 11:11
查看更多