I encountered an issue after setting up a new value for Configuration when building (after reading the following post: Different App Icons for your iOS Beta, Dev, and Release builds). The error message is as follows:
ld: file not found:
clang: error: linker command failed with exit code 1 (use -v to see
Managed to find the answer: http://stackoverflow.com/a/29887473/2124535
I solved it in Xcode 6 very easy like this:
- Select your project in the project navigator.
- Select the YourProjectTests under targets
- Under General tab change the Host Application from the drop down
- Build and run.
This problem happened to me because I renamed my project and the tests could't find it anymore. - Yowza7