Facebook iOS SDK: Why am I getting “You must upgrade this app to Graph API v2.x”?

痞子三分冷 提交于 2019-12-13 01:11:57

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!