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
  • 47,376
  • 28
  • 140
  • 179
MGames
  • 1,171
  • 2
  • 13
  • 24
  • 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
  • 523
  • 2
  • 10
  • 20
MGames
  • 1,171
  • 2
  • 13
  • 24