使用 Carthage 集成 Firebase GoogleSignIn

Integrate Firebase GoogleSignIn using Carthage

我正在尝试使用 Carthage 集成 Firebase GoogleSignIn。我使用了 Cocoapods 集成的 5.0.1 版本,一切正常。然后我切换到 Carthage 并且在我用 errorCode -1 调用 GIDSignIn.sharedInstance().signIn() 后立即调用 GIDSignInDelegate .

有什么想法吗?

请参阅 https://github.com/firebase/firebase-ios-sdk/issues/3791 上的讨论:

https://developers.google.com/identity/sign-in/ios/sdk. If that doesn't work, see the additional discussion about workarounds in the issue 可能有解决方案。

纯 Firebase Carthage 方法的目标是在 11 月初发布。