无法使用GooglePlusPlatform从GooglePlusSample代码登录Google

ash*_*win 14 keychain ios google-plus

我正在运行Google提供的GooglePlusPlatform示例代码,以了解其SDk.但是,当我运行应用程序并单击登录按钮时,它会生成错误:

Error Domain = com.google.GooglePlusPlatform Code = -1"keychain error"UserInfo = 0x1100bdd0 {NSLocalizedDescription = keychain error}

在我创建的另一个使用GooglePlus登录的应用程序中也会出现同样的错误.我用Google搜索,但找不到任何有用的内容.请帮忙!

Kri*_*lim 5

转到TARGETS> Capabilities>并启用"KeyChain Sharing".

在此输入图像描述


Jan*_*Jan 4

实际上,我在 Google Services GitHub 存储库上提交了这个错误,并得到了编码人员的回复,称它\xc2\xb4 是一个 Apple 错误,\xc2\xb4s 他们对此无能为力。

\n\n

https://github.com/googlesamples/google-services/issues/82

\n\n

好消息是,只有当 Xcode 连接到手机时才会出现此问题。否则它工作正常。因此,尽管测试很痛苦,但我们不应该担心它会给最终用户带来问题。(手指交叉)

\n