Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug warning Xcode - dwarf-with-dsym?

I get this warning upon compilation:

DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations. This could also be a timing issue, make sure the Fabric run script build phase is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it. Unable to process FieldSense.app.dSYM at path /Users/dnb/Library/Developer/Xcode/DerivedData/myApp-ggomikgtclrabvaoqmbwhjyudhxy/Build/Products/Debug-iphonesimulator/myApp.app.dSYM 

How to solve?

like image 360
Recusiwe Avatar asked Oct 25 '16 17:10

Recusiwe


People also ask

What is DWARF with dSYM file?

DWARF with dSYM means that after you build your executable, a dSYM debug information file will be linked using a tool named dsymutil . dsymutil gets run after your executable is linked to parse the debug map in the main executable and produce a dSYM file with all of the debug information.

What is dSYM file Xcode?

~/Library/Developer/Xcode/DerivedData/<build id>/Build/Products/<build type>/appname.dSYM. 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.

Where are dSYM files stored Xcode?

Find dSYMs on a local machine If your app is released to production, you can also look for its dSYM in the . xcarchive directory on disk: In Xcode, open the Organizer window and select your app from the list. Xcode displays a list of archives for your project.


1 Answers

To solve this issue:

  1. Go to your project settings
  2. Select your target
  3. Go to Build settings
  4. Scroll down to Debug Information Format (make sure to choose All settings)
  5. Set the values to DWARF with dSYM File

enter image description here

like image 81
Rashwan L Avatar answered Oct 11 '22 05:10

Rashwan L