1、将苹果的崩溃日志改名xxx.crash
2、将对应包的符号表 xxx.dSYM、xxx.crash、symbolicatecrash放入同一个文件夹
symbolicatecrash :xcode显示包内容
Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash
3、cd到该目录,终端执行命令:
./symbolicatecrash xxx.crash xxx.dSYM > crash.log
若提示Error: "DEVELOPER_DIR" is not xxx等错误
执行命令:
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
4、crash.log即为解析后的崩溃日志