Created
September 20, 2012 21:42
-
-
Save carlosmcevilly/3758524 to your computer and use it in GitHub Desktop.
symbolicate a crash for an iOS app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export log=$1 | |
export dsym=$2 | |
export app=$3 | |
if [[ "$app" == '' ]]; then | |
echo usage: $0 '<logfile> <dSYM folder> <.app folder>' | |
echo | |
exit -1 | |
fi | |
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash -o ${log%.*}.symbolicated.crash $log $dsym $app | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment