This issue happens due to a bug in dsymutil shipped with Xcode 5.1.1 (and matching release of Command Line Tools). Unfortunately this is the last version of Xcode available on 10.8, which may lead to and unresolvable problem. Hopefully, there is a solution!
Download Command Line Tools for Mac OS X Mavericks that were released on Sep 15, 2014. This package will not install on 10.8, but we don't need it. Expand the package by using the pkgutil (pkgutil --expand
), then unpack Payload (it's cpio.gz archive) of the CLTools_Executables.pkg package. Look up the dsymutil library and use it to replace one at /usr/bin/ and another one inside Xcode.app
Enjoy :)