4

In one of my project I have implemented FB login, which is working fine till iOS9 but in iOS10 its showing an error:-

com.facebook.sdk.login Code=308 "(null)

What can be the reason of this error. Can anyone help me out with the same.

Thanks in advance.

Mayank Jain
  • 5,663
  • 7
  • 32
  • 65
  • 3
    Possible duplicate of [How to use Facebook iOS SDK on iOS 10](http://stackoverflow.com/questions/38689631/how-to-use-facebook-ios-sdk-on-ios-10) – Roman Ermolov Sep 10 '16 at 10:26
  • Answer is described in http://stackoverflow.com/questions/38689631/how-to-use-facebook-ios-sdk-on-ios-10 Cheers! – Felipe Nogueira Sep 16 '16 at 16:55

1 Answers1

1

In IOS 10 something (don't know exactly what) is changed with keychain. To resolve this navigate to Targets->Capabilities and enable keychain sharing. enter image description here

Gaurav Pandey
  • 1,953
  • 3
  • 23
  • 37