Upon building my project (a simple cocoa application) in XCode 3 I get this error message:
ld: framework not found SDL
collect2: ld returned 1 exit status
But framework exists here /Library/Frameworks/SDL.framework
. How do I get the linker to find it?
The solution to this for external libraries is to add your framework's path to Build Settings > Search Paths > Framework Paths.
Like this: /Users/MyMacName/Documents/FacebookSDK
If it is something that "came with" xcode then it should work without this addition.
The screenshot shows how to do this in XCode 7:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With