如果您使用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.
Run Code Online (Sandbox Code Playgroud)
那么GoogleSignIn 3.0.0是最后使用的版本吗?
我可以让它工作:
pod 'Google/SignIn'
pod 'GoogleSignIn', '~> 4.0'
pod 'Google', '~> 3.0'
Run Code Online (Sandbox Code Playgroud)
只是pod 'Google/SignIn'为了通过检查,因为它是旧版本然后 GoogleSignIn 然后它会被 pod 忽略。
你也需要pod 'Google', '~> 3.0'。
这样您就可以毫无错误地使用 Google Sign 4.0+。
| 归档时间: |
|
| 查看次数: |
2969 次 |
| 最近记录: |