So after I create an Xcode 6 project, even if I haven\'t written any code in it, if I try renaming it by double clicking the bolded program title in the upper left hand corn
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:

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)