Iphone: Where is the .dSYM file in the crash report?

According to this page here , if you have the correct application binary and .dSYM, then they are easy to symbolize. But where are the .dSYM files and application binaries located?

+105
iphone xcode
Aug 17 2018-11-11T00:
source share
12 answers

Right-click on its archive -> Show in Finder -> Right-click on the file and click Show package contents .

You will find your .dSYM file here.

+222
Aug 17 '11 at 7:11
source share

You can find the .dSYM and application binary in the archive.

  • Choose Window → Organizer

Step 1

  1. This will open the Organizer window containing the last created Project Archive
  2. Right-click on Archive and select " Show in Finder Step 3
  3. Select " Show Package Contents " for the archive Step 4
  4. Project.xcarchive contains dSYMs, Info.plist and products Step 5 Folder

dSYMs contains the dSYM file of your project.

The application folder in Project contains the binary file for your project application.

+87
Jan 28 '15 at 11:28
source share

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

If you created a project for a real device, you can also find the dSYM file as follows:

  • Go to Project Navigator and find the Products folder
  • Right-click the application and select "Show in Finder".

    Make sure the app is black and not red. Since red color means that you have not created a target for a real device.

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

Before all these steps, make sure that you have correctly configured the xcode build options:

  • Generate Debug Symbols included.
  • Debug Infomation Format installed on DWARF with dSYM File .

Hope this helps.

+36
Feb 25 '16 at 6:13
source share

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

+24
Oct 17 '12 at 16:30
source share

In Xcode 5.1.1, you will find it under Xcode → Settings → Location → DerivedData. In DerivedData, you'll see a bunch of random directory names. Find those that start with the name of your project. Then get the latest directory created for your project. Then under this directory go to assembly / products // *. App.dSYM

You can even click on your final product in the "Products" section of the project explorer and do "Show in search" to get there directly.

+10
May 13 '14 at 10:30
source share

The .dSYM file must be generated when you create your application. Look in your assembly product catalog.

+8
Aug 17 2018-11-11T00:
source share

1.Select Window → Organizer

2. Right-click on the Archive (the name of your application) and select "Show in Finder"

3. Select "Show Package Contents" for the archive.

4. Right-click on your project. xcarchive contains dSYM, Info.plist and products

5.select yourappname.app.dSYM

+3
Dec 01 '17 at 7:11
source share

If you have not generated the archive and are trying to debug it on the device, dsym can be found at

/ Library / Developer / Xcode / DerivedData / YOUR_APP / Build / Products / Debug-iphoneos

+3
Jul 03 '18 at 17:02
source share

If you have the UUID you are looking for, you can find them with the following command:

 mdfind "com_apple_xcode_dsym_uuids == <UUID>" 
+2
Sep 18 '14 at 6:40
source share

It's too easy, please follow the instructions here.

  1. Open your project in Xcode and select the project file in Xcode Navigator.
  2. Select the main build target from the " Select Project or Target" drop-down list.
  3. Click the Build Settings target tab.
  4. Click All next to the top of the tab.
  5. Search " debug info format ".
  6. Set the debug information format to DWARF with the dSYM file .

Now go to Product ---> Archive ---> Your Build ---> Right-click on your assembly and click Show in Finder ---> Now Right-click and go to Show package contents ---> dSYMs - → Yourappname.app.dSYM

+2
Jan 24 '19 at 8:07
source share

I just want to share something from my experience. Every time I release a new version of my framework, I save it dSYM in a separate folder. So, later I can easily find the appropriate dSYM when I need it. This can be easily done by adding this line of code to the bash script in the build settings.

 cp -r "${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FRAMEWORK_NAME}.framework.dSYM" "${HOME}/Desktop/${FRAMEWORK_NAME}.framework.dSYM" 
+2
May 02 '19 at 13:50
source share

I found that build configuration must be Release order to create a .dSYM file.

0
Sep 10 '18 at 5:53
source share



All Articles