问题描述
要将dSYM上传到crashlytics,我有以下设置,但无法上传dSYM。
To upload dSYM to crashlytics, I have following setup but not able to get dSYM uploaded.
在我的目标 - >构建阶段 - >运行脚本
In my target -> build phases -> Run Script
./Fabric.framework/run KEY SECRET
echo "working"
./Crashlytics.framework/run KEY SECRET
在报告导航器中
2015-03-27 11:45:32.868 run[12108:507] Fabric.framework/run 1.3.13
working
2015-03-27 11:45:36.000 run[12109:507] Crashlytics.framework/run 1.3.13
在我的应用程序fabric.io仪表板中
In my app fabric.io dashboard
缺少dSYM
我缺少什么?
推荐答案
如果您因为需要应用程序稀疏或TVOS或WatchOS应用程序而打开bitcode,那么在生成xcarchive时创建的dSYM不是所需的dSYM。这是因为apple 从bitcode重新编译。要获得真正的dSYM,请转到itunesconnect,打开特定(已处理)版本,然后点击下载dSYM链接。显然fastlane可以自动完成这个过程(我还没试过):
If you have bitcode on because you want app-thinning or a TVOS or WatchOS app, then the dSYMs you create when you generate the xcarchive are NOT the dSYMs required. This is because apple re-compiles from the bitcode. To get the real dSYMs, go to itunesconnect, open up the specific (processed) build, and hit the "Download dSYMs" link. Apparently fastlane can automate this process (I have not tried it): https://krausefx.com/blog/download-dsym-symbolication-files-from-itunes-connect-for-bitcode-ios-apps
这篇关于将dSYM上传到crashlytics的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!