Last Updated: February 25, 2016
·
830
· alexrothenberg

symbolicating an ios crash report

If you're building an ios app and for some reason there's a bug you're probably going to get a crash report. Here are the steps to re-symbolicate the report because apple doesn't make it easy from outside xcode.

export DEVELOPER_DIR=`xcode-select --print-path`
alias symbolicatecrash /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash
symbolicatecrash crash-report.txt path/to/MyApp.dSYM > report.out

Now you've got report.out with the symbols in the crash.

Happy Debugging!