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

Sno*_*ash 198 debugging xcode crashlytics twitter-fabric

我最近开始收到此错误:

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
Run Code Online (Sandbox Code Playgroud)

我试过这个答案无法将dSYM文件复制到存档中,但我Generate Debug Symbols的所有文件都设置为YES

还有什么建议?

ABS*_*ABS 570

以下解决方案对我有用,我希望它能帮到你.

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

在此输入图像描述

并确保将构建设置中的" 生成调试符号"设置为"是".

  • 在我的例子中,这个设置是调试模式的"DWARF".使用dSYM将其设置为"DWARF"会使警告消失.谢谢! (29认同)
  • weeeeell,如果我想在DEBUG中运行东西(通过在构建过程结束时关闭dSym生成)来加快构建时间,该怎么办?我想禁用此警告.得到脚本! (11认同)
  • 这可能会减慢调试构建速度。如果您在调试模式下运行,我建议跳过Crashlytics脚本。使用类似这样的命令:`debugConfig =“ Debug” if [“ $ debugConfig”!=“” $ {CONFIGURATION}“]; 然后“ $ {PODS_ROOT} / Fabric / run” fi (2认同)

Bru*_*uno 89

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

  • 那有什么作用? (2认同)

chu*_*ana 7

详细阐述Bruno的响应,如果您已经有一个需要一直运行的脚本阶段,请创建一个新的专用阶段以避免冲突。 在此处输入图片说明


Zso*_*olt -1

我删除了 Fabric 和 Crashlytics,然后从头开始将它们重新添加回来,就像我第一次安装它一样。有效。

另请参阅https://twittercommunity.com/t/how-to-reinstall-fabric-crashlytics/37890