I wanted to rename my project, and after searching for how to do this and seeing how typically Apple-simple it was, I went ahead and did it. Yes, I did take a snapshot (now figuring out how to restore that snapshot!), but it has ruined my project. I get this error (bold added by me to show where it seems to have stuffed up):
ld: file not found: /Users/me/Library/Developer/Xcode/DerivedData/NewProjectName-eisldjzoxszctjcmwhkxggzpivdu/Build/Products/Debug/OldProjectName.app/Contents/MacOS/OldProjectName
clang: error: linker command failed with exit code 1 (use -v to see invocation)
So, restoring a snapshot (which I've never done before; thus far I've never needed to) it seems I go to Window > Projects then find the snapshot and Export it to a separate folder? Incidentally, the name of the project in the exported folder is still the new project name, but it seems only to be the appearance of the name; all other instances of the old project name within are still there and it actually runs (so it seems to have committed 1% of the renaming to my snapshot, which is a bit dodgy, IMHO). Do I just copy this extracted folder back over the old project that is borked? I don't want to lose my git history by just running with the exported fresh folder.
Thanks.
I'm using XCode Version 6.4 (6E35b)
I had some problems for rename my Xcode project too. Try to use this link: http://www.totem.training/swift-ios-tips-tricks-tutorials-blog/xcode-61-renaming-projects, can be helpful.