I\'m trying to implement Facebook login in my iOS app, using Parse.
let permissionsArray = [\"public_profile\", \"email\"]
PFFacebookUtils.logInInBackgroun
It's due to the authenticationChallenge issue when you mistakenly try to login twice simultaneously and then further logins will give you some keychain warning on console while debugging, this error will be noticeable when you will be debugging on device. Without debugging mode you'll not get this error, the reason is keychain will work fine when you are not debugging.
There are few workarounds for this:
1. Try logging in without debugging mode and once it succeeded you can further login successfully with debugging mode too.
2. Check for error code FBSDKLoginBadChallengeString and call [FBSDKAccessToken setCurrentAccessToken:nil] to clear token and perform login again.