Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to copy dSYM file into archive

Whenever I run 'build and archive' from XCode I get the following message:


Unable to copy dSYM file into archive.

Please make sure that your application has set the “Debug Information Format” build setting to “DWARF with dSYM File”.


I have checked my Debug format and it is set to the suggested value(DWARF with dSYM). Has anyone else ran into this issue, if so how did you fix it?

like image 557
DerekH Avatar asked Dec 16 '10 22:12

DerekH


People also ask

How do I get dSYM files from archive?

Download dSYM files using Xcode's app archive Open the Xcode Organizer: From the Xcode menu, select Window > Organizer > Archives > (select a mobile app). From Version, select the archive that matches the app version (listed first) and build number (following the app version in parentheses). Select Download dSYMs.

Where are dSYM files stored?

Your app's dSYM files are stored in Xcode's dSYM archive path folder. This is the folder where the iOS agent gets the dSYM files that are used to symbolicate your crash reports. New Relic provides a post-build script as part of the iOS agent's install process.

What is a dSYM file?

A dSYM file is a debug symbol file generated by Apple Xcode and has all the debugging information for the particular crash. They are useful for re-symbolicating the crash reports.


3 Answers

Try setting 'Generate Debug Symbols' to true in the build settings of the target you're trying to build and archive.

This solved the issue for me!

like image 76
Wilbo Baggins Avatar answered Nov 13 '22 18:11

Wilbo Baggins


this worked for me ,i hope it help someone out there... Goto to the build setting and search for "Generate debug symbol" and set it to Yes.

enter image description here

then search for debug information format in build setting and set "Debug information format" to "DWARF with dSYM file"

enter image description here

like image 44
ABS Avatar answered Nov 13 '22 17:11

ABS


I just ran into the same problem, but I had an build script which removed the dSYM file before Xcode could. So it wasn't there and that was what Xcode was crying about.

I attached a screenshot, so perhaps the next one which runs into that problem can recover a bit quicker from that.

Unable to copy dSYM file into archive

like image 3
Jens Kohl Avatar answered Nov 13 '22 18:11

Jens Kohl