我最近开始得到这个错误:

2015-03-23 11:35:48.902 run[60036:1047011] Crashlytics.framework/run 1.3.14
2015-03-23 11:35:48.911 run[60036:1047011] 

Crashlytics: dSYM Error

Unable to process <your app>.app.dSYM at path /path/to/<your app>.app.dSYM
Make sure your project build settings are generating a dSYM file. DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations. This could also be a timing issue, make sure the Crashlytics run script build phase is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it.

Command /bin/sh failed with exit code 1

我尝试了这个答案无法将dSYM文件复制到存档,但我所有的生成调试符号都设置为YES

还有什么建议吗?


我删除了Fabric和Crashlytics,并从一开始就添加了它们,就像我第一次安装它一样。它工作。

参见https://twittercommunity.com/t/how-to-reinstall-fabric-crashlytics/37890


下面的解决方案对我很有效。

进入项目的构建设置,然后在构建设置中搜索调试信息格式,搜索“调试信息格式”,然后将“调试信息格式”设置为“DWARF with dSYM file”

并确保生成设置中的生成调试符号设置为“是”。


在“运行脚本”上检查是否为true“仅在安装时运行脚本”


详细阐述Bruno的回答,如果您已经有一个需要一直运行的脚本阶段,请创建一个新的专用阶段以避免冲突。