This is the most horrifying error that I\'ve dealt with so far. To be clear:
I solved by removing manually imported FBSDK dependencies (from Link Binary with libraries) and adding following lines to pod file:
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
Its an issue with the latest Facebook SDK (Sept 10th 2015). Download the release before it.
See this answer https://stackoverflow.com/a/32519847/1052084 which worked for me.
thanks this working with me when using facebook SDK https://developers.facebook.com/resources/FacebookSDKs-iOS-20150813.zip
This can also be caused by any included static libraries or sub-projects that are included with your project, having a different target version ie. you have an externalSourcesLibrary project and it's build target is set to minimum version 6.0 while your main project is set to something higher like 8.4 or vice versa.