Make sure your project build settings are generati

2019-01-20 23:02发布

问题:

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?

回答1:

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"

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



回答2:

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



回答3:

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.



回答4:

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