firebase tag.Swift Package ManagerWith Xcode 12 now available as a GM, I'm looking into using SPM for integrating Firebase. I removed these five lines from my Cartfile:
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseGoogleSignInBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseProtobufBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json"
Then I added the Swift package as described in the docs. But I don't see GoogleSignIn available anywhere and my builds fail with it missing.
Sorry if I'm missing something, but is this just not supported yet?
Code is as seen at https://firebase.google.com/docs/auth/ios/google-signin.
Right, GoogleSignIn does not yet have Swift PM support yet.
We're following up with the GoogleSignIn team and will update here when we have more detail.
Has there been any new information from the GoogleSignIn team?
googlesamples/google-services#484
Any new update on this @paulb777 ?
The GoogleSignIn team is investigating, but nothing specific I can share about future plans.
@paulb777 @piers12
Though I am still waiting for the GoogleSignIn team's version, I've got along well with https://github.com/sugarpac/SwiftGoogleSignIn based on https://github.com/CocoaPods/Specs/blob/master/Specs/d/4/0/GoogleSignIn/5.0.2/GoogleSignIn.podspec.json. Inside it, https://github.com/sugarpac/GTMAppAuth is used instead of https://github.com/google/GTMAppAuth as a minimum platform update from iOS 8 to iOS 9 is requested for compiling.
Try adding https://github.com/sugarpac/SwiftGoogleSignIn.git to your package dependencies, and use GoogleSignIn.
Any new updates about GoogleSignIn version for swift package manager @paulb777 ?
There is some progress described at https://stackoverflow.com/questions/65469685/using-google-sign-in-for-ios-with-swift-package-manager for a workaround
I've the impression this framework is abandoned; is there an alternative to GoogleSignIn which allow login with Google in mobile apps?
GoogleSignIn continues to be distributed via CocoaPods and a binary distribution. Swift Package Manager support is being investigated.
I've checked firebase sdk using swift pm, but I can't see GoogleSignIn be available to install via swift pm. When will GoogleSignIn can be install via swift pm?
Most helpful comment
Any new updates about GoogleSignIn version for swift package manager @paulb777 ?