1.拷贝到 usr/bin 里面
2.symbolicatecrash Sports_2013-10-25-173027_ware.crash com.sina.newssports_2.3.0.18_2013.10.28.11.14.06.ipa >252.crash
搞定
如果报错,
"Error: "DEVELOPER_DIR" is not defined at/usr/local/bin/
网上说,这样就可以了
export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"
也有人说
"export DEVELOPER_DIR=`xcode-select --print-path`" should set the right path, no matter what version of Xcode you're running. – Greg Oct 4 '12 at 19:07
不过我这里依然报错
原来是因为我给XCode.app改了名字了
export DEVELOPER_DIR="/Applications/XCode4.6.app/Contents/Developer"
搞定!
然后就可以看日志了。
真他妈好用。
参考:
How to Manually Symbolicate iOS Crash to View Crash Logs
http://stackoverflow.com/questions/3832900/how-to-manually-symbolicate-ios-crash-to-view-crash-logs
Symbolicating an iOS crash log without the original dSYM file
https://coderwall.com/p/ezdcmg