• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
DWARF and separate dSYM problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DWARF and separate dSYM problems


  • Subject: DWARF and separate dSYM problems
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 14 Aug 2006 19:52:25 -0600

Using Xcode 2.4.

I've been experimenting with DWARF debugging and separating the dSYM file, and I'm having two problems:

1. I noticed that, in my projects, when I turned on DWARF with dSYM support and rebuilt, every single time a resource file was changed but no source files were changed, Xcode insisted on running the build phase that moves dSYM files into a separate file. Predictably, since the dSYM file was previously created when the objects were last linked (so the symbols would no longer be inside the binary), the dSYM build phase raised an error (since the symbols were previously moved) and the build failed. This would normally be an annoyance only, except that I build my projects using a script, and the build failure causes the script to stop as if a real emergency happened. Has anyone ever seen this one before? I was going to try and build a reproducible case for a bug report, but then I ran into the following:

2. When I created a brand new Cocoa project, and then changed the build settings to always generate debug symbols and use DWARF with dSYM for debugging, the build _always_ fails in the Release configuration because the symbols "aren't there" according to the dSYM build phase. (I suspect ZeroLink is the only reason why it's not failing in the Debug configuration.) In this case, the dSYM build phase always reports an error even though -gdwarf-2 was being passed to the compiler, the linked object was not being stripped, and the object also appears to have symbols in it when inspected manually. What's going on here?

Has anyone ever been able to get this feature to work correctly?

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request




_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: DWARF and separate dSYM problems
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Xcode/gcc help in enforcing secure coding?
  • Next by Date: Re: FSRef_fopen alternative
  • Previous by thread: Re: -Wshorten-64-to-32 and LL suffix
  • Next by thread: Re: DWARF and separate dSYM problems
  • Index(es):
    • Date
    • Thread