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:

