IOS上传符号文件崩溃报告失败 [英] IOS upload symbol files for crash reporting fail

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

问题描述


/Users/appledev018/LarsonApp/Pods/FirebaseCrash/upload-sym-util.bash:335:error:curl退出非零状态35。



hello



命令/ bin / sh发出错误,但没有返回一个非零的退出代码来指示失败

我按照指南设置了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


解决方案

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



请参考附件截图。




/Users/appledev018/LarsonApp/Pods/FirebaseCrash/upload-sym-util.bash:335: error: curl exited with non-zero status 35.

hello

Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure

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上传符号文件崩溃报告失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆