Command /Developer/usr/bin/dsymutil failed with exit code 10

Posted by Evan Robinson on Stack Overflow See other posts from Stack Overflow or by Evan Robinson
Published on 2009-10-29T23:38:10Z Indexed on 2010/04/16 17:03 UTC
Read the original article Hit count: 585

Filed under:
|

I am getting the above error message randomly (so far as I can tell) on iPhone projects. Occasionally it will go away upon either:

  • Clean
  • Restart XCode
  • Reboot
  • Reinstall XCode

But sometimes it won't. When it won't the only solution I have found is to take all the source material, import it into a new project, and then redo all the connections in IB. Then I'm good until it strikes again.

Anybody have any suggestions?

[update 20091030]
I have tried building both debug and release versions, both full and lite versions. I've also tried switching the debug symbols from DWARF with external dSYM file to DWARF and to stabs. Clean builds in all formats make no differences.

Permission repairs change nothing.

Setting up a new user has no effect. Same error on the builds.

Thanks for the suggestions!

[Update 20091031]
Here's an easier and (apparently) reliable workaround. It hinges upon the discovery that the problem is linked to a target not a project

  1. In the same project file, create a new target
  2. Option-Drag (copy) all the files from the BAD target 'Copy Bundle Resources' folder to the NEW target 'Copy Bundle Resources' folder
  3. Repeat (2) with 'Compile Sources' and 'Link Binary With Libraries'
  4. Duplicate the Info.plist file for the BAD target and name it correctly for the NEW target.
  5. Build the NEW target!

[Update 20100222]
Apparently an IDE bug, now apparently fixed, although Apple does not allow direct access to the original bug of a duplicate. I can no longer reproduce this behaviour, so hopefully it is dead, dead, dead.

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about objective-c