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.