ios,  xcode

Symbolification in iOS applications

Symbolification is the process of mapping machine addresses into the source code. The tricky part is that by default .DSYM file is only generated for release builds.

Symbolification in iOS applications

Symbolification is the process of mapping machine addresses into the source code.

The file that contains information that maps machine addresses into the source code has a .DSYM extension and is usually named app_name.DSYM.

The tricky part is that by default .DSYM file is only generated for release builds so if a debug build is launched from the app icon no symbolification will occur. To avoid this problem we can configure the project to have DWARF with dSYM File set for both debug and release targets.

The setting is located in project’s Build Settings under Debug Information Format (just search for DWARF in Build Settings).

This way the Crash Report, seen from Windows -> Devices and Simulators -> View Device Logs will contain symbolification information.

Subscribe to The infinite monkey theorem

Get the latest posts delivered right to your inbox