Xcoder
Xcoder

Reputation: 199

Changing name destroys project ability to run! Xcode

I recently changed my project name and then I when I run I get a Apple Mach-O Linker error here it is.

ld: file not found: /Users/Ajay/Library/Developer/Xcode/DerivedData/TapAway-dzdhwbcfttcdcceccpophqtqgmvl/Build/Products/Debug-iphonesimulator/Speedy.app/Speedy
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Im not sure why this is happening can any one please help me Im really new.

Thanks for everyone who helped. Please be a bit specific I'm not that good.

Thanks again :)

Upvotes: 2

Views: 556

Answers (1)

Xcoder
Xcoder

Reputation: 199

So In the end I found the answer to my question! :)

Once you change the name of the project, under targets click on the white lego brick(Tests), when you click it it will show one option called Host Application.

Click on the checkbox next to it and choose your file.

Look at the image.

Solution

Upvotes: 11

Related Questions