I read countless other posts and tried many fixes, but nothing worked for my problem. I precede this by saying that I did not use Xcode on this Macbook in 2-3 months. This is the only project (out of 4 or so that I tried) that has this problem. The first thing I did after opening Xcode was changing the project name, as well as the .h and .m files. I did all this through Xcode, not Finder.
Nothing appears in the navigator in the red text, which indicates that it cannot be found. Here is what I have tried (many times).
Close / Open Xcode.
Empty the project and assembly folder.
Delete the Derived Data folder.
Disk Utility to restore permissions.
Reboot the computer.
Tried various code signing combinations.
Uninstall the application from the device.
Search the project for any duplicate file names.
Here is the warning verbatim:
Warning: several build commands for the output file / Users / jinser / Library / Developer / Xcode / DerivedData / Landmarks -bgnzcomxftpffiezmwocaqdydrlj / Build / Products / Debug-iphoneos / Landmarks.app / Landmarks
and here is the error:
GenerateDSYMFile / Users / jinser / Library / Developer / Xcode / DerivedData / Landmarks-bgnzcomxftpffiezmwocaqdydrlj / Build / Products / Debug-iphoneos / Landmarks.app.dSYM / Users / jinser / Library / Developer / Xcode / DerivedData / Landmarks-bffzdmd Products / Debug-iphoneos / Landmarks.app / Landmarks cd "/ Users / jinser / Desktop / Kevin / Cocos2D Projects / ARSpaceships" setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/ bin: / usr / bin: / bin: / usr / sbin: / sbin "/ Developer / usr / bin / dsymutil / Users / jinser / Library / Developer / Xcode / DerivedData / Landmarks-bgnzcomxftpffiezmwocaqdydrlj / Build / Products / Debug-iphoneos /Landmarks.app/Landmarks -o / Users / jinser / Library / Developer / Xcode / DerivedData / Landmarks-bgnzcomxftpffiezmwocaqdydrlj / Build / Products / Debug-iphoneos / Landmarks.app.dSYM
error: cannot open executable file ''
This is Xcode 4.2 on Mac 10.6.8. Please any advice would be appreciated. I am losing consciousness.
Thanks.
source share