Im uses Xcode 4.6.3 to create a library for OS X. My project includes a LibraryTest target, which is a command line application to test the functionality of the library. Both the library and the test application are built perfectly, but when I try to start the application, it immediately terminates, and the debug console shows:
error: failed to launch '/Users/bdesham/Library/Developer/Xcode/DerivedData/Wavelength_and_Spectrum_Library-byosniusyaoidgdcpzwzuzkitzgv/Build/Products/Debug/LibraryTest' -- error: Host::LaunchProcess (launch_info) => pid=0, path='/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver' err = error: ::posix_spawnp ( pid => 98649, path = '/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver', file_actions = 0x10b09e268, attr = 0x10b09e2a0, argv = 0x7fe2701377e0, envp = 0x0 ) err = Bad file descriptor (0x00000009) (0x00000009) error: failed to launch '/Users/bdesham/Library/Developer/Xcode/DerivedData/Wavelength_and_Spectrum_Library-byosniusyaoidgdcpzwzuzkitzgv/Build/Products/Debug/LibraryTest' -- error: Host::LaunchProcess (launch_info) => pid=0, path='/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver' err = error: ::posix_spawnp ( pid => 98649, path = '/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/debugserver', file_actions = 0x10b09e268, attr = 0x10b09e2a0, argv = 0x7fe2701377e0, envp = 0x0 ) err = Bad file descriptor (0x00000009) (0x00000009)
(A line break has been added for readability.) I have Xcode 5 DP installed, so I tried to uninstall Xcode 4 and reinstall it from the Mac App Store, but not the cube. Removing DerivedData did not help either. Any ideas?
source share