Error after renaming Xcode 6 project: "linker command failed with exit code 1 (use -v to see invocation)"

Solution 1:

I saw the same error after changing the name, and I was able to fix it by clearing the "Test Host" values in the Build Settings of my "Tests" target:

enter image description here

Alternatively, If you need your tests to be able to run after changing the name of your project, you should be able to update the MyProject.app/MyProject value in both fields to reflect the new name of your project (ie. MyNewProject.app/MyNewProject)

Solution 2:

If above method(s) doesn't work and if for now you don't feel like needing to test anything in your project, just remove your project test target.

Later on if you need to create some tests, you will still be able to add test targets again.