I present the Google login for my application, and although the Google and Firebase documentation is quite complete, what I did on their suggestion is not enough ... I still get this error. Hope this helps others find a solution to the problem when implementing their SDK ... thanks in advance for watching this short one:

Here's the Firebase guide and Google guide:
So
- Added by Google to the podfile - CHECK
- Added line in Bridging-Header - CHECK
- Added GoogleService-Info.plist and package ID and changed client ID to URL schemes - CHECK
The application manager has the following: no errors, but I noticed that there may be conflicts between the Facebook login (working correctly) and the new Google, which I have no idea how to handle together:

PS I have NOT added GIDSignInDelegate to AppDelegate here, because I plan that my VC will handle the input logic, as you will see below ...
LoginVC ViewController here:
class LoginVC: UIViewController, UIViewControllerTransitioningDelegate, UITextViewDelegate, UITextFieldDelegate, GIDSignInDelegate, GIDSignInUIDelegate { override func viewDidLoad() { super.viewDidLoad() let ref = Firebase(url: "https://MYAPPID.firebaseio.com") GIDDSignIn.sharedInstance().delegate = self GIDSignIn.sharedInstance().uiDelegate = self GIDSignIn.sharedInstance().signInSilently()
Then this, that from what I see ... should be all that Google needs to talk to Firebase:
// Implementing the required GIDSignInDelegate methods func googleSignIn(signIn: GIDSignIn!, didSignInForUser user: GIDGoogleUser!, withError error: NSError!) { if (error == nil) { // Auth with Firebase let userId = user.userID let idToken = user.authentication.idToken let fullName = user.profile.name let givenName = user.profile.givenName let familyName = user.profile.familyName let email = user.profile.email ref.authWithOAuthProvider("google", token: user.authentication.accessToken, withCompletionBlock: { (error, authData) in // User is logged in! }) } else { print("\(error.localizedDescription)") } } func googleSignOut() { GIDSignIn.sharedInstance().signOut() ref.unauth() } // Implement the required GIDSignInDelegate methods and Unauth when disconnected from Google func signIn(signIn: GIDSignIn!, didDisconnectWithUser user:GIDGoogleUser!, withError error: NSError!) { ref.unauth() } // IBAction to handle the sign-in process @IBAction func googleButtonPressed(sender: TKTransitionSubmitButton!) { GIDSignIn.sharedInstance().signIn() }
Upset? Sorry for the old guys ... but I did everything the Firebase guide offers, and that means the logic in the Google document for AppDelegate is there in ProfileVC. Any pointers?
source share