Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create dSYM file in XCode 4?

Can you please let me know how can I create .dSYM file using XCode 4?

Thanks!

like image 665
meetpd Avatar asked Apr 21 '11 14:04

meetpd


People also ask

What is 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.


2 Answers

If you archive the application the dsym file is in the xarchive. Right-click on the entry in the organizer, do "show in finder", right click on the xarchive and choose "show package contents". The dsym is in the dSYMs directory.

like image 145
Joris Mans Avatar answered Sep 18 '22 10:09

Joris Mans


Update for Xcode 4.3.1

For me there was 2 build settings I had to edit and I had to edit them in the PROJECT and in the TARGETS sections before XCODE would generate dSYMs.

1) Build Settings -> Build Options -> Debug Information Format = DWARF with dSYM

2) Build Settings -> Apple LLVM compilier 3.1 - Code Generation -> Generate Debug Symbols = YES

Hopefully this will help someone else because I spent a few hours banging my head against the wall with Archives that had empty dSYM directories... I "love" XCODE sometimes....

like image 41
Dr Jones Avatar answered Sep 21 '22 10:09

Dr Jones