如何解决 Flutter Mac 上 GoogleService-Info.plist 中无效的 GOOGLE_APP_ID 问题?
我正在尝试使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论