如何解决 Flutter Mac 上 GoogleService-Info.plist 中无效的 GOOGLE_APP_ID 问题?

发布于 2025-01-14 03:37:22 字数 664 浏览 3 评论 0原文

我正在尝试使用 iPhone SE 虚拟设备在 Xcode Mac (Monterey 12.2) 上运行 Flutter 项目 - 该项目构建成功,但当我运行时,它显示以下错误状态:

“Exception = NSException * “配置失败。可能是GoogleService-Info.plist中的GOOGLE_APP_ID无效或自定义选项中设置的GOOGLE_APP_ID无效造成的。” 0x0000600003ed8450“

该应用程序在Mac的Android Studio(虚拟设备)上运行得非常好。

我们已经尝试过:

  • 清理和构建项目
  • ,正确放置plist文件,
  • 检查Firebase配置

还尝试了以下链接中的解决方案: Flutter NSException:配置失败。这可能是由于 GoogleService-Info.plist 中的 GOOGLE_APP_ID 无效或在自定义选项中设置的 GOOGLE_APP_ID 造成的

我们将不胜感激您的解决方案。提前致谢 。

I am trying to run a Flutter project on Xcode Mac (Monterey 12.2) using iPhone SE virtual device - the project builds successfully but when I run, it shows the error status below:

"Exception = NSException *
"Configuration fails. It may be caused by an invalid GOOGLE_APP_ID in GoogleService-Info.plist or set in the customized options." 0x0000600003ed8450"

The app runs superb on Mac's Android Studio (virtual device) .

We have tried:

  • cleaning and building the project
  • placing plist file properly
  • checking Firebase configuration

Also tried the solutions from below link:
Flutter NSException: Configuration fails. It may be caused by an invalid GOOGLE_APP_ID in GoogleService-Info.plist or set in the customized options

Your solution would be appreciated. Thanks in advance .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文