You can build a dSYM for any linked image.  The only thing you can't build it 
for is object and archive files.  Whether to do it or not is just a tradeoff 
between build time & preserving debug information long term.

Jim

(*) Technical note.  "ld" has an obscure option "ld -r" which makes another 
"partially linked" .o file out of a collection of .o files (or a .a file.)  
These are also NOT linked images, so you cannot make a dSYM for them.  However, 
the linker also doesn't copy the debug info from .o files to the ld -r file, it 
writes a partial debug map pointing back to the original .o or .a file.  So if 
you have a target that makes an "ld -r" output object file, you will need to 
keep it AND the source .o files around till you end up fully linking the "ld 
-r" file, then you can make a dSYM out of that.

Jim


> On Mar 14, 2016, at 1:48 PM, Jens Alfke <j...@mooseyard.com> wrote:
> 
> 
>> On Mar 14, 2016, at 1:34 PM, Quincey Morris 
>> <quinceymor...@rivergatesoftware.com> wrote:
>> 
>> Looking at a recently created project (so that the settings are what Apple 
>> currently recommends, we might presume), it has DWARF for the debug 
>> configuration and DWARF with dSYM for the release configuration. That sounds 
>> right, I think.
> 
> What sort of target did you use? Again, our project has all sorts of 
> different targets, not just apps.
> 
> —Jens
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (Xcode-users@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/jingham%40apple.com
> 
> This email sent to jing...@apple.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to