iOS Google 使用 SDK 登录问题

iOS Google sign in with SDK issue

我正在 google 使用 SDK 为 IOS 应用登录,但出现以下错误。

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Your app is missing support for the following URL schemes: com.logindemo.testdemo'

有解决此错误的方法吗?

您是否将 URLSchemes 添加到您的应用程序中?看https://developers.google.com/identity/sign-in/ios/start-integrating

结尾

交叉检查 Google 应用和 IOS app.May 凭据中的捆绑包 ID,因为它不匹配。