Symbolicate iPhone app crash

 ̄綄美尐妖づ 提交于 2019-12-04 09:17:44
Venkatarao N

Provided I have .crash file and .dSYM file, this works.

  1. Preliminary

    Create a folder temp in ~/, path is ~/temp/
    Keep all files in ~/temp/ i.e. script, .ipa, .dsym and .crash (in fact .ipa is not needed)

  2. Go to ~/temp/

  3. Set path: If there are two Xcode's in system or paths not being set

    sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/ export DEVELOPER_DIR=/Applications/Xcode.app

  4. Create shortcut

    Alias symbolicateCrash /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash

  5. Get symbolication:

    atos -arch armv7 -o 'appname.app'.dSYM/Contents/Resources/DWARF/'appname' 0x0029c296
    atos -arch armv7 -o 'appname.app'.dSYM/Contents/Resources/DWARF/'appname -l "binary image line of crash log"
    

    or

    symbolicateCrash 'logname'.crash 'appname.app'.dSYM/Contents/Resources/DWARF/'appname'
    
  6. Still, if any issues? Still couldn't link with some not found, couldn't figure out exceptions.
    Downloaded script: external shell script (uploaded as 'symbolicatecrash')

./symbolicatecrash -v filename.crash

References:

How to Manually Symbolicate iOS Crash to View Crash Logs

Symbolicating iPhone App Crash Reports

iphone: Where the .dSYM file is located in crash report

How to create dSYM file in XCode 4?

How to symbolicate iPhone \ iPad crash logs?

you should go with -->Xcode -- > Organizer--> Devices --> Device Logs :)

Here you can find crash log.... OR you can use TestFlight SDK for use see crash log of your testing teams Device....

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!