Recently, trying to run any of my emulators gives me errors like this:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/dg/Library/Developer/Xcode/DerivedData/SpeedySend-dxsddbeapbyckeghnedhuzagpwqf/Build/Intermediates/SpeedySend.build/Debug-iphonesimulator/SpeedySend.build/Objects-normal/i386/SpeedySend (No such file or directory)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
(null): error: unable to open executable '/Users/dg/Library/Developer/Xcode/DerivedData/SpeedySend-dxsddbeapbyckeghnedhuzagpwqf/Build/Products/Debug-iphonesimulator/SpeedySend.app/SpeedySend': No such file or directory
If I connect physical devices, like my iPad 2 or my iPhone 5, I can build and run my app on them without errors.
Xcode was recently upgraded to 6.4 but I do not know if that is related.
I saw some similar problems described here and I tried turning Build Active Architecture from Yes to No as per suggestions there. The result was that one of the three previous blocks of error messages disappeared:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
(null): error: unable to open executable '/Users/dg/Library/Developer/Xcode/DerivedData/SpeedySend-dxsddbeapbyckeghnedhuzagpwqf/Build/Products/Debug-iphonesimulator/SpeedySend.app/SpeedySend': No such file or directory
I'm pretty lost. Any suggestions would be helpful.