OS X Crash Log Symbolication

前端 未结 4 637
旧巷少年郎
旧巷少年郎 2021-02-06 04:54

I cannot symbolicate OS X (not iOS) crash logs from testers and users using XCode 4.6 . The crash logs cannot be dragged into the organizer, and the organizer does not show any

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-06 05:11

    You can use GDB for Symbolication, Put your release build and your .dSYM file in the same directory open terminal

    $ cd directory
    $ gdb MyApp.app
    (gdb) info line *0x00085f3c  
    

    or you can use atos as suggested by trojanfoe

    $cd directory
    $atos -o MyApp.app/Contents/MacOS/MyApp
    info 0x00085f3c
    

    or

    $ cd directory
    $ lldb MyApp.app
    (lldb) image lookup -v --address 0x1ec4
    

提交回复
热议问题