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
I just encountered the same error. If you are using embedded Libraries, make sure your Deployment Target is set to iOS 8.0 or higher.