Last active
April 9, 2018 10:10
-
-
Save ming-chu/8179726fdd6ccef216bb9949f2c59d59 to your computer and use it in GitHub Desktop.
Find symbolicatecrash path for DSYM file symbolicate
This file contains hidden or 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/sh | |
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer | |
find /Applications/Xcode.app/ -name "symbolicatecrash" | grep "SharedFrameworks" | |
#/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash | |
#This app can sybolicate the *.crash, *.ips files, it really helps! | |
symbolicatecrash --dsym /path/xxxx.xcarchive/dSYMs --output name.symbolicated.crash name.crash | |
#get uuid from dsym | |
dwarfdump -u MyApp.app.dSYM | |
#desymbolicate each ips in current folder | |
dSYMsPATH="/..../Developer/Xcode/Archives/2018-01-01/MyApp.xcarchive/dSYMs" | |
for fileName in $(ls *.ips); do symbolicatecrash --dsym "$dSYMsPATH" --output "$fileName"_symbolicated.crash $fileName; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment