Pages

Monday, April 6, 2015

Symbolize ios crash report based on app bundle and dSYM file with Xcode 6.2

If you archive the ios build from one box and need to symbolize the ios crash report from another box, then you need to do it with the following command (xcode version is 6.2)

1. First copy application app bundle,  dSYM file,  and device crash report (.crash) file into the same folder on mac

2. open terminal app into the above folder

3 run the below command from terminal
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer

4.run the below command from terminal to generate the symbolized crash log

/Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash -o ./symbolized.crash ./crashreportfromdevice.crash ./my.app.dSYM

If there are spaces on the above file name, then add single quotation mark around the file name

5. after the new symbolized crash report file (symbolized.crash) is generated on the same folder, double click it from Finder to show the symbolized file in console app