When I install facebook SDK pods into my ios project, It says ":-1: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'FacebookCore')"
When I click on login with Facebook button, it is opening safari browser and getting closed immediately. Noticed error on the console.
App delegate method:
func application(app: UIApplication, openURL url: NSURL, options: [String : AnyObject]) -> Bool {
print("###### URL : ")
…
i have integrated Facebook sdk in Xcode 6 (with swift).
During the login i request the public_profile permission:
FBSession.openActiveSessionWithReadPermissions(["public_profile"], allowLoginUI: true, completionHandler: {
...
...
So i request the user's information:
FBRequestConnection.startForMeWithCompletionHandler { (connection, user, error) -> Void in
...
...
…
My iOS app uses Facebook's Graph API Request during sign up to get user information, which worked fine prior to upgrading to Facebook's newest SDK. After upgrading, I'm getting a runtime error stating: "FBSDKLog: starting with Graph API v2.4, GET …