关于 xcode:确保您的项目构建设置正在生成 dSYM 文件。对于所有配置,DEBUG_INFORMATION_FORMAT 应设置为 dwarf-with-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

我最近开始收到此错误:

1
2
3
4
5
6
7
8
9
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

我试过这个答案 Unable to copy dSYM file into archive but my all my Generate Debug Symbols are set to YES

还有什么建议吗?


以下解决方案对我有用,希望对您有所帮助。

转到项目的构建设置,然后在构建设置中搜索调试信息格式并搜索"调试信息格式",然后将"调试信息格式"设置为"带有 dSYM 文件的 DWARF"

enter


在运行脚本上检查真正的"仅在安装时运行脚本"


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