How to Manually Symbolicate iOS Crash to View Crash Logs

前端 未结 6 2271
粉色の甜心
粉色の甜心 2020-11-28 18:13

Trying to debug app. The trouble is I cannot find this program.

symbolicatecrash.sh

sudo cp /Developer/Platforms/iPhoneOS.platform/Developer/Library/         


        
6条回答
  •  青春惊慌失措
    2020-11-28 18:42

    One way to symbolicate a crash log is to run the following command on terminal:

    xcrun atos -o MyApp.app/MyApp -arch armv7 -l 0xb7000 -f MyApp.crash

    Replace the example hexadecimal number(0xb700) in the command above with the base load address. Base load address is the first memory address in the line immediately after

    "Binary Images:"

    To get the .app file:

    Right click on the xcarchive file and select Show Package Contents The .app file is in the Products/Applications directory.

提交回复
热议问题