CRASH文件夹下 放如下文件
1)symbolicatecrash脚本 ( /应用程序/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources)
2)dSYM文件
3)ips文件 (后缀可为.crash .ips)
./symbolicatecrash crash文件路径 dSYM文件路径 > log.crash
./symbolicatecrash ips文件 dSYM文件 > crash.log
提示错误
Error: "DEVELOPER_DIR" is not defined at ./symbolicatecrash line 69.
则
export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"
./symbolicatecrash /Users/XXX/Downloads/CRASH/bb.crash /Users/XXX/Downloads/CRASH/aa.dSYM > log.crash
./symbolicatecrash /Users/XXX/Downloads/CRASH/bb.ips /Users/XXX/Downloads/CRASH/aa.dSYM > crash.log