I was working on my project and suddenly after editing the code and compiling gave this error:
ld: warning: directory not found for option \'- L/Use
Go to general and linked frameworks and libraries in xcode and remove all the files there.