如果您使用pod "Google/SignIn"
,它将安装GoogleSignIn 3.0.0
如果使用pod "GoogleSignIn"
,它将安装最新版本4.0.2
但是,如果使用运行应用程序pod "GoogleSignIn"
,则该应用程序将崩溃并显示以下消息:
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.
那么GoogleSignIn 3.0.0是atm的最后使用版本吗?
我可以使用:
pod 'Google/SignIn'
pod 'GoogleSignIn', '~> 4.0'
pod 'Google', '~> 3.0'
的pod 'Google/SignIn'
仅仅是通过检查,因为它是一个较旧的版本,然后GoogleSignIn那么它会通过吊舱被忽略。
您pod 'Google', '~> 3.0'
还需要。
这样一来,您可以毫无错误地使用Google Sign 4.0+。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句