How to symbolicate crash log Xcode?

后端 未结 12 1179
别那么骄傲
别那么骄傲 2020-11-22 12:28

Xcode 5 organizer had a view which would list all the crash logs. and we could drag drop crash logs here. But since Xcode 6, I know they have moved devices out of organize a

12条回答
  •  迷失自我
    2020-11-22 13:06

    From Apple's docs:

    Symbolicating Crash Reports With Xcode Xcode will automatically attempt to symbolicate all crash reports that it encounters. All you need to do for symbolication is to add the crash report to the Xcode Organizer.

    • Connect an iOS device to your Mac
    • Choose "Devices" from the "Window" menu
    • Under the "DEVICES" section in the left column, choose a device
    • Click the "View Device Logs" button under the "Device Information" section on the right hand panel
    • Drag your crash report onto the left column of the presented panel
    • Xcode will automatically symbolicate the crash report and display the results To symbolicate a crash report, Xcode needs to be able to locate the following:

      1. The crashing application's binary and dSYM file.

      2. The binaries and dSYM files for all custom frameworks that the application links against. For frameworks that were built from source with the application, their dSYM files are copied into the archive alongside the application's dSYM file. For frameworks that were built by a third-party, you will need to ask the author for the dSYM file.

      3. Symbols for the OS that the that application was running on when it crashed. These symbols contain debug information for the frameworks included in a specific OS release (e.g, iOS 9.3.3). OS symbols are architecture specific - a release of iOS for 64-bit devices won't include armv7 symbols. Xcode will automatically copy OS symbols from each device that you connect to your Mac.

    If any of these are missing Xcode may not be able to symbolicate the crash report, or may only partially symbolicate the crash report.

提交回复
热议问题