Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode symbol file location

Does Xcode output a symbol file or is it possible to produce one? We're capturing our own crash reports from devices in our own format and would like to symbolise them so we can have a faster turnaround than waiting for Apple to make crash reports available.

like image 983
moinudin Avatar asked Sep 06 '12 07:09

moinudin


People also ask

Where are debug symbols Xcode?

dSYM bundle folder which contains the symbol file further inside Contents/Resources/ . You can also generate a . dSYM bundle file by running dsymutil on a binary/library.

How do I open symbols in Xcode?

“Open Quickly” > Click on the Symbols dropdown menu at the top of the editor > Select the selector to jump to it. Click on “Project Symbols” in the “Groups and Files” section on the left sidebar, and type in a name in the Search text field in the top right of the XCode window.

What are symbols Xcode?

. symbols files are generated when you submit machine code instead of bitcode to the App Store. They are used as part of the mechanism used to deliver symbolicated crash reports to your Xcode Organizer. They are lighter weight than the complete . dSYM file, which contains far more debugging info.

What is a dSYM file?

A dSYM file is an ELF file that contains DWARF (debugging with attributed record formats) debug information for your application. DWARF is a debugging file format that supports source-level debugging.


1 Answers

Ensure that your application is built with debug flags enabled.

The file should be in your library folder:

~/Library/Developer/Xcode/DerivedData/<weird-app-identifier>/Build/Products/Debug-iphoneos

Inside this folder, there will be a .dSYM bundle folder which contains the symbol file further inside Contents/Resources/.

You can also generate a .dSYM bundle file by running dsymutil on a binary/library.

like image 81
Nandeep Mali Avatar answered Oct 10 '22 18:10

Nandeep Mali