无法使用GooglePlusPlatform从GooglePlusSample代码登录Google [英] Unable to sign in to Google from the GooglePlusSample code using GooglePlusPlatform

查看:133
本文介绍了无法使用GooglePlusPlatform从GooglePlusSample代码登录Google的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am running the GooglePlusPlatform Sample Code provided by Google to learn about its SDk. However, when I run the application and click on the sign-in button it generates an error as:


错误域= com.google。 GooglePlusPlatform代码= -1钥匙串错误
UserInfo = 0x1100bdd0 {NSLocalizedDescription = keychain error}

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

同样的错误也发生在我创建的另一个使用GooglePlus登录的应用程序。我用Google搜索,但找不到任何有用的东西。请帮助!

Same error also occurs in another application I have created which uses the GooglePlus Sign in. I Googled about it, but could not find anything useful. Please help!

推荐答案

转到TARGETS>功能>并启用KeyChain Sharing。

Go to TARGETS > Capabilities > and enable "KeyChain Sharing".

这篇关于无法使用GooglePlusPlatform从GooglePlusSample代码登录Google的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆