Make sure your project build settings are generating a dSYM file. DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations

XcodeDebuggingCrashlyticsTwitter Fabric

Xcode Problem Overview


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 https://stackoverflow.com/questions/4466095/unable-to-copy-dsym-file-into-archive but all my Generate Debug Symbols are set to YES

Any further suggestions?

Xcode Solutions


Solution 1 - Xcode

The below solution worked for me.

Go to 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.

Solution 2 - Xcode

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

Solution 3 - Xcode

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

Solution 4 - Xcode

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSnowcrashView Question on Stackoverflow
Solution 1 - XcodeABSView Answer on Stackoverflow
Solution 2 - XcodeBrunoView Answer on Stackoverflow
Solution 3 - XcodechuckSaldanaView Answer on Stackoverflow
Solution 4 - XcodeZsoltView Answer on Stackoverflow