echo dSYM uuid: xcrun dwarfdump --uuid $2.app.dSYM/Contents/Resources/DWARF/$2 echo crashlog uuid: grep $2' armv7' $1 | tr -s " " echo baseaddress: grep $2' armv7' $1 | tr -d " " | cut -f 1 -d"-" echo CallStack: grep $2 $1 | grep 0x | tr -s " " | \ cut -f 3 -d" " | tr -s "[\n"] " " | \ xcrun atos -l `grep $2' armv7' $1 | tr -d " " | cut -f 1 -d"-"` \ -arch armv7 -o $2.app.dSYM/Contents/Resources/DWARF/$2 2>&1 | tee ./$1.CallStack腳本不理解的自己查。
http://wufawei.com/2014/03/symbolicating-ios-crash-logs/
文檔信息