【发布时间】:2016-12-13 16:57:16
【问题描述】:
我正在使用 Cordova 开发一个应用程序。在 Android 上,Firebase 插件运行良好,但我在 iOS 上遇到了这个问题:
<Error> [Firebase/Core][I-COR000009] The GOOGLE_APP_ID either in the plist
file 'GoogleService-Info.plist' or the one set in the customized options
is invalid. If you are using the plist file, use the iOS version of bundle
identifier to download the file, and do not manually edit the
GOOGLE_APP_ID. You may change your app's bundle identifier to '(null)'. Or
you can download a new configuration file that matches your bundle
identifier from https://console.firebase.google.com/ and replace the
current one.
*** Terminating app due to uncaught exception 'com.firebase.core', reason:
'Configuration fails. It may be caused by an invalid GOOGLE_APP_ID in
GoogleService-Info.plist or set in the customized options.'
我将 GoogleService-Info.plist 放在项目的根文件夹中,与 .xcodeproj 文件位于同一文件夹中。
【问题讨论】: