Make sure your project build settings are generati

2019-01-20 22:10发布

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

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

Any further suggestions?

4条回答
混吃等死
2楼-- · 2019-01-20 22:53

Elaborating Bruno's response, if you already have a script phase that you need to run all the time, create a new dedicated phase in order to avoid conflicts. enter image description here

查看更多
Explosion°爆炸
3楼-- · 2019-01-20 22:54

I removed Fabric and Crashlytics and added them back again from the beginning just like I were to install it the first time around. It worked.

see also https://twittercommunity.com/t/how-to-reinstall-fabric-crashlytics/37890

查看更多
一夜七次
4楼-- · 2019-01-20 23:06

Check for true "run script only when installing" on Run Script

查看更多
趁早两清
5楼-- · 2019-01-20 23:08

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

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"

enter image description here

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

查看更多
登录 后发表回答