Every time I build in XCode 4.5 I note this step takes over a minute, in a full rebuild this step is probably as long as everything else in total!
I previously used XCode 3.2.6 and building in 4.5 is far slower. Is there anything I can do to improve this? Is there any information on what a dSYM does, I don't recall ever seeing it on 3.2.6.
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.
~/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.
a dSYM file is used to resymbolicate your crash reports from users. Check out this Apple Tech Note, specifically the "Analyzing Crash Reports" section).
To speed things up, you could always turn off dSYM generation for your DEBUG builds and then turn it on for ADHOC and/or Store builds. Here is a related question that talks a bit about that.
dsymutil's run time is largely determined by the amount of debug information it needs to process to create the dSYM. Chances are you are using a different compiler in Xcode 3.2.6 vrs. Xcode 4.5, or the 4.5 compiler is emitting more/better debug information so the dsymutil time is longer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With