iOS崩溃日志查看

2021-10-20  本文已影响0人  longer冯

1.取手机日志文件

2.拷贝文件

/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash
下载文件:xxx.archives,右键显示包内容,拷贝出dSYM文件

3.执行解析

./symbolicatecrash xxx.crash xxx.dSYM > log.crash

如果报错:Error: "DEVELOPER_DIR" is not defined at ./symbolicatecrash line 69
执行:

export DEVELOPER_DIR = "/Applications/Xcode.app/Contents/Developer"
上一篇下一篇

猜你喜欢

热点阅读