0

So I am trying to change my application directory (I moved my project in new folder) and this error occurred. I tried to clean and rebuild my project, restart xCode and mac, nothing helps. Looks like the problem is that I need to update old path somewhere, but I don't know where exactly.

Error stack:

ld: file not found: /Users/panich/Library/Developer/Xcode/DerivedData/BuildingLoyalty-ezexzzfxemzfmsfdygvetpstlugg/Build/Products/Debug-iphoneos/BuildingLoyalty.app/BuildingLoyalty
clang: error: linker command failed with exit code 1 (use -v to see invocation)

My project name - BuildingLoyalty. The error is also connected with BuildingLoyaltyTests. Thx.

Screenshot:

enter image description here

2
  • Do you get this error on your BuildingLoyaltyTests only or in both targets ?? Commented Sep 8, 2015 at 11:18
  • only in BuildingLoyaltyTests Commented Sep 8, 2015 at 11:21

2 Answers 2

1

Go to your Project, then select your Test target, then under Testing clear the values of Debug and Release like this

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

1

You should try to delete your DerivedData folder. In your case, it seems to be located here : /Users/panich/Library/Developer/Xcode/DerivedData

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.