1. Connect the phone to the computer, open the Devices list in Xcode, and find the iPhone that crashed the app. Check Device Logs to find app crashes. 2. To get the Crash log from iTunes Content, select Manage Your Applications, click View Details under the icon, and click Crash Reports to the right.

Let’s take a look at what the crash log contains:

  • Process information

The Incident Identifier is the unique Identifier for crash reports.

The CrashReporter Key is a unique Key value corresponding to the device id.

Hardware Model Indicates the device type.

Process is the application name.

  • The basic information

Includes crash time, ios version.

  • abnormal

The exception type is displayed.

  • The thread back

This section provides a retrospective log for all threads in the application. In general, that’s where the crash happened, so you can see what method crashed, and you can only see what class, what method, what line it was compiled into.

  • Thread state

This part is the value in the register at the time of the flash.

  • Binary image

This section lists the binaries that have been loaded at the time of the flash back.

When we look back, it’s all hexadecimal and we don’t know what it means. The process of converting these hexadecimal addresses into method names and line numbers is called symbolization.

The crash log will be symbolized automatically a few seconds after it is retrieved from Xcode’s Organizer window. To use Xcode to symbolic crash logs, you need to access the application binary file on the App Store and the. DSYM file generated when the binary file is generated. It has to be an exact match. Otherwise, logs cannot be fully symbolized.

When a crash log is found, Xcode will automatically symbolize the crash log if there are matching. DSYM files and application binaries.

Note: you must keep both the application binary and the. DSYM file to fully symbolize the crash log. Every build submitted to iTunes Connect must be archived.

.dsym files and binaries are specifically bound to each build and subsequent builds, and each build is different from other builds and not interchangeable, even if it comes from the same source file.

Symbolic Symbolication possiblemobile.com/2015/03/sym…