Pod "Google / SignIn" vs pod "GoogleSignIn"

if you use the pod "Google/SignIn" , it installs GoogleSignIn 3.0.0

if you use the pod "GoogleSignIn" , install the latest version 4.0.2

However, if you run the application using the pod "GoogleSignIn" , then the application crashes with the message:

 You have enabled the SignIn service in Developer Console, but it appears as though your Podfile is missing the line: 'pod "Google/SignIn" or you may need to run `pod update` in your project directory. 

So, is GoogleSignIn 3.0.0 using the latest version?

+5
source share
2 answers

I could work with:

 pod 'Google/SignIn' pod 'GoogleSignIn', '~> 4.0' pod 'Google', '~> 3.0' 

pod 'Google/SignIn' is just passing the check, since it is an older version and then GoogleSignIn, after which it will be ignored by the pod.

You will need the pod 'Google', '~> 3.0' .

With this, you can use Google Sign 4.0+ without errors.

+1
source

First off, sorry @Marckaroujo. I can not add a comment, so I ask qstn on ur message.

I added the following after reading your post

 pod 'Google/SignIn' pod 'GoogleSignIn', '~> 4.0' pod 'Google', '~> 3.0' 

But now I get a warning after I click pod install.

 [!] Google has been deprecated 

Will the warning above create some error later in my application when it will be available to the public.

0
source

Source: https://habr.com/ru/post/1266143/


All Articles