21

I'm receiving the following error:

ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'

How do I fix this without removing the framework search path? I need the framework search path for my AdMob framework.

SwiftArchitect
  • 45,394
  • 26
  • 137
  • 173
MGames
  • 1,151
  • 2
  • 12
  • 23
  • Try the answers here: http://stackoverflow.com/questions/23489920/error-ld-library-not-found-for-lpods-with-cocoapods. Double click on your `Framework Search Paths` and add what is included in their to your question. – Daniel Storm Sep 20 '15 at 11:31

1 Answers1

34

I fixed it! Since my project is migrated from a previous version of Xcode, I had to clear the value in Framework Search Path, which is in Build Settings under Search Paths.

The old value was something like $(inherited) $(PROJECT_DIR)/MyProject and I simply deleted it.

Lucas
  • 456
  • 2
  • 11
  • 15
MGames
  • 1,151
  • 2
  • 12
  • 23