Search code examples
iosfirebasecocoapodsios10podfile

Firebase SDK doesn't work with iOS 10


I'm using Firebase in my Xcode project. And I am using cocoapods to install it.

In Podfile I've set platform to ios, '9.0'.

All works correctly in iOS 9.3.3 but when I test my app with iOS 10 , I get lots of errors and the Google Sign-in doesn't work. How can I solve this problem? Can I set multiple platforms like platform:ios, '9.0', '10.0' in my Podfile?


Solution

  • Apple changed the way of working with keychain in iOS 10. To fix this you can simply go to Targets > Capabilities and enable keychain sharing (it enables access to keychain for your app).