ios app 真机crash报告分析

1.导出真机中的crash文件,自动导入的,mac下面的地址:~/Library/Logs/CrashReporter/MobileDevice

2.命令行操作

(1)sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/

(2)export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"
(3)/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash xxx.crash xxx.app.dSYM

注:xxx.crash为导出的crash文件,xxx.app.dSYM在xcode Product .app 右键Show in Finder中就可以找到,具体/Users/apple/Library/Developer/Xcode/DerivedData工程的子目录下面寻找。

posted @ 2013-04-06 00:07  geweb  阅读(459)  评论(0编辑  收藏  举报