場(chǎng)景描述
友盟等第三方或者控制臺(tái)返回給我們錯(cuò)誤日志侍匙。類似0x371308bf錯(cuò)誤地址,根本找不到。叮雳。想暗。。帘不。说莫。
方案
通過錯(cuò)誤地址反編碼,鎖定位置寞焙。
實(shí)現(xiàn)步驟
Step 1 :
將每次打包后.xcarchive保存下來或者再打包一次
Step1:Xcode -> Windows -> Organize 找到.xcarchive文件 ->dSYMs (把.app.dSYM)拉出來.....
Step 2 :
打開終端->cd 到拉出來的.....app.dSYM文件夾->執(zhí)行
atos -o name.app.dSYM/Contents/Resources/DWARF/name 0x371308bf
Step 3 :
然后你會(huì)看到你最想看到的.......
bugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbug