Search code examples
iosfirebasefirebase-authenticationgoogle-signincarthage

Integrate Firebase GoogleSignIn using Carthage


I'm trying to integrate Firebase GoogleSignIn using Carthage. I used 5.0.1 version integrated by Cocoapods and everything works just fine. Then I switched to Carthage and the GIDSignInDelegate is called immediately after I call GIDSignIn.sharedInstance().signIn() with errorCode -1.

Any ideas?


Solution

  • See the discussion at https://github.com/firebase/firebase-ios-sdk/issues/3791:

    There is potentially a solution at https://developers.google.com/identity/sign-in/ios/sdk. If that doesn't work, see the additional discussion about workarounds in the issue.

    A pure Firebase Carthage approach is targeted for an early November release.