Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iphone: Where the .dSYM file is located in crash report

Tags:

xcode

iphone

People also ask

Where are dSYM files stored?

Xcode creates the . dSYM file automatically for you when you use the Archive option. The created archive contains your app and its dSYM and is stored in ~/Library/Developer/xcode/Archives .

What is dSYM file in iOS?

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.


Right Click on your archive -> Show in Finder -> Right click on file and click on Show package contents.

Here you will find your .dSYM file.


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.


If you have archived your project, you can find the dSYM file as above.

If you have build you project for a real device, you can also find the dSYM file by the following way:

  • Go to Project Navigator, and find Products folder
  • Right click the app, and choose Show in Finder.

    Make sure that the app is in black color, not red. Because red color means that you have not build the target for a real device.

  • You can find the dSYM file with the same name with your app, in the same folder.

Before all of these actions, make sure you have configured the xcode build settings right, as follows:

  • Generate Debug Symbols setting is enabled.
  • Debug Infomation Format are set to DWARF with dSYM File.

Hope this will help.


I found my .dsym file in /Users/<username>/Library/Developer/Xcode/DerivedData/<appname>/Build/Products/<appname>