场景描述
友盟等第三方或者控制台返回给我们错误日志。类似0x371308bf错误地址,根本找不到。。。。。。
方案
通过错误地址反编码,锁定位置。
实现步骤
Step 1 :
将每次打包后.xcarchive保存下来或者再打包一次
Step1:Xcode -> Windows -> Organize 找到.xcarchive文件 ->dSYMs (把.app.dSYM)拉出来.....
Step 2 :
打开终端->cd 到拉出来的.....app.dSYM文件夹->执行
atos -o name.app.dSYM/Contents/Resources/DWARF/name 0x371308bf
Step 3 :
然后你会看到你最想看到的.......
bugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbug