Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rename project in Xcode

This error appears after renamed the project in Xcode:

"error: linker command failed with exit code 1 (use -v to see invocation)" and 'Build failed'.

"ld: file not found:ld: file not found: /Users/admin/Library/Developer/Xcode/DerivedData/RenameProjectRenamed-glxemlqfmpgiasemfzifmxysyxpn/Build/Products/Debug-iphoneos/RenameProject.app/RenameProject"

Do you have some ideas of that? Thanks

like image 586
Dev2014 Avatar asked Oct 21 '14 19:10

Dev2014


2 Answers

Try building a new scheme of your app. Worked for me!

enter image description here

like image 168
Max Friedman Avatar answered Oct 14 '22 03:10

Max Friedman


Xcode 6 (as of 6.1) forgets to rename the Test Host setting correctly. Go in to the project settings -> Test target settings, and change Test Host setting to match to the new name. See screenshot.

enter image description here

like image 45
GonzoCoder Avatar answered Oct 14 '22 02:10

GonzoCoder