问题
I am in the process of adding Facebook support (login, posting) to our iOS app. I have downloaded and linked against the latest iOS libraries as of a week or two ago (FBSDKCoreKit.framework and FBSDKLoginKit.framework). However, when I attempt to authorize the app, I get the warning "You must upgrade this app to Graph API v2.x".
I have no idea why it thinks I'm using an older API version. The Facebook app record is pretty old and had been dormant for some time, but the actual client code has been completely rewritten against the latest libraries. Do I perhaps need to update some settings in the Facebook app record?
回答1:
I had the same problem and posted a similar question (Facebook iOS SDK 4.0.1 "You must upgrade this app to Graph API v2.x").
For me the problem was solved when I deleted /Users/.../Library/Developer/Xcode/DerivedData
来源:https://stackoverflow.com/questions/29527299/facebook-ios-sdk-why-am-i-getting-you-must-upgrade-this-app-to-graph-api-v2-x