debugging 确保项目生成设置正在生成dSYM文件,对于所有配置,DEBUG_INFORMATION_FORMAT应设置为dwarf-with-dsym

nxagd54h  于 2023-04-30  发布在  其他
关注(0)|答案(4)|浏览(117)

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

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,但我所有的Generate Debug Symbols都设置为YES
还有什么建议吗?

yyyllmsg

yyyllmsg1#

下面的解决方案对我很有效。
进入项目的构建设置,然后在构建设置中搜索调试信息格式,搜索“调试信息格式”,然后将**“调试信息格式”设置为“DWARF with dSYM file”**

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

qf9go6mv

qf9go6mv2#

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

44u64gxh

44u64gxh3#

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

uyto3xhc

uyto3xhc4#

我删除了织物和Crashlytics,并添加了他们再次从一开始就像我要安装它的第一次左右。成功了
参见https://twittercommunity.com/t/how-to-reinstall-fabric-crashlytics/37890

相关问题