meetpd
meetpd

Reputation: 9219

How to create dSYM file in XCode 4?

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

Thanks!

Upvotes: 43

Views: 31558

Answers (5)

777Q
777Q

Reputation: 385

You can find dSYM in Product, see below images:

  1. Right click to your App > Show in Finder

get dSYM - 1

  1. Here is it.

get dSYM - 2

  1. If you use Crashlytics , you need to zip it then upload it to dashboard.

enter image description here

Upvotes: -1

Jayprakash Dubey
Jayprakash Dubey

Reputation: 36447

You can locate .dSYM and application binary file in archive.

  1. Select Window -> Organizer

Step 1

  1. This will open up Organizer window containing last created Archive of project
  2. Right click on Archive and select 'Show in Finder' Step 3
  3. Select 'Show Package Content' for archive Step 4
  4. Project.xcarchive contains dSYMs, Info.plist and Products Step 5

dSYMs folder contains dSYM file of your project.

Application folder in Project contains application binary of your project.

Upvotes: 0

Dr Jones
Dr Jones

Reputation: 391

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

Upvotes: 39

Julio Gorgé
Julio Gorgé

Reputation: 10106

Make sure you have selected "DWARF with dSYM File" as the Debug Information Format in the build settings of your application. The dSYM is then generated automatically when you build and is usually placed in the same folder as the resulting .app.

Upvotes: 5

Joris
Joris

Reputation: 6286

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.

Upvotes: 101

Related Questions