AtoS查看iOS Crash log中的16进制代码日志

注意:crash_log一定要和打包时的archive对应上;

 

方法1)在Orgnizer里找到某一个archive,即:/Users/handywang/Library/Developer/Xcode/Archives/2012-04-20/sohunews\ 4-20-12\ 3.07\ PM.xcarchive


找到/Users/handywang/Library/Developer/Xcode/Archives/2012-04-20/sohunews\ 4-20-12\ 3.07\ PM.xcarchive/dSYMs/sohunews.app.dSYM/Contents/Resources/DWARF/sohunews

然后在terminal里运行  atos -o /Users/handywang/Library/Developer/Xcode/Archives/2012-04-20/sohunews\ 4-20-12\ 3.07\ PM.xcarchive/dSYMs/sohunews.app.dSYM/Contents/Resources/DWARF/sohunews -arch armv6 16进制内存地址
来源:http://stackoverflow.com/questions/7675863/atos-cannot-get-symbols-from-dsym-of-archived-application

方法2)把/Users/handywang/Library/Developer/Xcode/Archives/2012-04-20/sohunews\ 4-20-12\ 3.07\ PM.xcarchive/Products/Applications/sohunews.app和/Users/handywang/Library/Developer/Xcode/Archives/2012-04-20/sohunews\ 4-20-12\ 3.07\ PM.xcarchive/dSYMs/sohunews.app.dSYM拷到同一个目录,然后运行:
atos -o /Users/handywang/Library/Developer/Xcode/Archives/2012-04-20/sohunews\ 4-20-12\ 3.07\ PM.xcarchive/Products/Applications/sohunews.app/sohunews -arch armv6 16进制内存地址

你可能感兴趣的:(Crash)