gpt4 book ai didi

ios - pods "Google/SignIn"与 pods "GoogleSignIn"

转载 作者:可可西里 更新时间:2023-11-01 04:49:56 26 4
gpt4 key购买 nike

如果您使用 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 是最后一个使用的版本吗?

最佳答案

我可以让它工作:

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

pod 'Google/SignIn' 只是为了通过检查,因为它是比 GoogleSignIn 更旧的版本,所以它会被 pod 忽略。

您还需要 pod 'Google', '~> 3.0'

有了它,您可以毫无错误地使用 Google Sign 4.0+。

关于ios - pods "Google/SignIn"与 pods "GoogleSignIn",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43127654/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com