How to find DWARF_DSYM_FOLDER_PATH and DWARF_DSYM_FILE_NAME in xcode 9.3

You need to go to Organizer and select your archive file, select show in finder

enter image description here

after that you need to select show package content

enter image description here

and finally there is your DYSM folder

enter image description here


You can do it using xcodebuild tool:

xcodebuild -project MyProject.xcodeproj -target MyTarget -showBuildSettings

Output of this command will contain Xcode env values including DWARF_DSYM_FOLDER_PATH and DWARF_DSYM_FILE_NAME.


If you have a workspace and multiple schemes, you can use the following command from the xcodebuild tool.

xcodebuild -workspace Project.xcworkspace -scheme ProjectSceheme -showBuildSettings