确保您的项目构建设置正在生成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

查看:521
本文介绍了确保您的项目构建设置正在生成dSYM文件。对于所有配置,应将DEBUG_INFORMATION_FORMAT设置为dwarf-with-dsym的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始出现此错误:

I've recently started getting this error:

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文件复制到存档中,但是我所有的 Generate Debug Symbols 设置为 YES

I tried this answer Unable to copy dSYM file into archive but all my Generate Debug Symbols are set to YES

还有其他建议吗?

推荐答案

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

The below solution worked for me ,i hope it will help you.

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

Goto build setting of your project then Search for debug information format in build setting and search for "Debug information format" then set "Debug information format" to "DWARF with dSYM file"

,并确保在构建设置中将生成调试符号设置为是。

and make sure Generate debug symbol in build setting is set to Yes.

这篇关于确保您的项目构建设置正在生成dSYM文件。对于所有配置,应将DEBUG_INFORMATION_FORMAT设置为dwarf-with-dsym的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆