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

标签 xcode debugging 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

我尝试过这个答案 Unable to copy dSYM file into archive但我所有的生成调试符号都设置为YES

还有什么建议吗?

最佳答案

以下解决方案对我有用。

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

enter image description here

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

关于xcode - 确保您的项目build设置正在生成 dSYM 文件。对于所有配置,DEBUG_INFORMATION_FORMAT 应设置为 dwarf-with-dsym,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29209582/

相关文章:

Firebase Crashlytics 卡住了添加 SDK

android - 具有多种风格的应用程序的 Crashlytics 分发

ios - 在 Xcode 4.5 之后使用 instruments 跟踪 Core Animation 性能

xcode - Cocoa 应用程序中的 std::terminate 未定义

ios - ios 自定义框架中的宏定义不起作用

javascript - 如何使用 Netbeans 在服务器端调试 Ajax 请求?

ios - XCode 系统配置和无法访问 ios 键盘

ios - 模块 XXX 未使用库演化支持构建

debugging - 我不知道为什么在调试 Google Analytics(分析)时我的跟踪信标没有被发送

ios - 适用于 iOS 自定义键盘扩展的 Firebase Crashlytics