gpt4 book ai didi

ios - 谷歌+登录SDK不工作

转载 作者:行者123 更新时间:2023-11-29 13:26:05 29 4
gpt4 key购买 nike

我正在开发一个 iOS 应用程序。当我运行用于 google+ 登录的程序时,在我点击允许访问按钮后,会显示此消息。

You've reached this page because we have detected that Javascript is disabled in your browser. The page you attempted to load cannot display properly if scripts are disabled. Please enable scripts and go back in your browser."

此外,我在下面为 GooglePlusSignInDelegate 方法放置了一个 NSlog:

(void)finishedWithAuth:(GTMOAuth2Authentication *)auth
error:(NSError *)error {
if (error) {
NSLog(@"Error[A]: %@", error);
} else
{
NSLog(@"SUCCESS!");
}

没有日志出来。这是否意味着我尚未获得 google+ 登录授权?

最佳答案

我能够解决我自己的问题。

当我更改 bundle ID 时,我没有在 URL 类型中更新它。

这是我更新 URL 类型的方法:在目标列表中选择应用程序目标,然后单击信息选项卡。在 URL 类型下,确保指明正确的 bundleID。

关于ios - 谷歌+登录SDK不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13083998/

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