简体   繁体   English

Google登录iOS SDK中发生了潜在的可恢复错误

[英]A potentially recoverable error occured in Google Sign-In iOS SDK

I integrated new Google Sign-In SDK 2.4.0 in my application. 我在应用程序中集成了新的Google登录SDK 2.4.0。 I am trying to login with Google, getting below error message 我正在尝试登录Google,但出现以下错误消息

A potentially recoverable error occured. You can try again.

What is the problem, help me. 有什么问题,请帮帮我。

The problem is with Bundle Id Mismatch 问题出在Bundle ID不匹配

Both your project bundle id and google sign in bundle id should be same. 您的项目包ID和Google登录包ID应该相同。

When it asks for your iOS Bundle Id, make sure it matches the bundle id that you find in your Xcode project settings (target -> General -> Bundle Identifier) 当它询问您的iOS捆绑包ID时,请确保它与您在Xcode项目设置中找到的捆绑包ID相匹配(目标->常规->捆绑包标识符)

Delete the old "GoogleService-Info.plist" file and replace it with the new one you just created 删除旧的“ GoogleService-Info.plist”文件,并将其替换为刚创建的新文件

clean, try to sign in again. 干净,请尝试重新登录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM