在您的项目中找不到有效的 GoogleService-Info.plist [英] Could not find a valid GoogleService-Info.plist in your project
问题描述
当我使用 Xcode 9 beta 4 运行我的 swift 3.2 代码时,这是我得到的错误:
When I run my swift 3.2 code with Xcode 9 beta 4 this is the error I get:
*** 由于未捕获的异常com.firebase.core"而终止应用程序,原因:[FIRApp 配置];(Swift 中的 FirebaseApp.configure())在您的项目中找不到有效的 GoogleService-Info.plist.请从 https://console.firebase.google.com/下载一个.'
我已经有一个 GoogleService-Info.plist 文件,它的名称与它应该完全一样,而且是有效的.
I already have a GoogleService-Info.plist file that is named exactly like it should and it is valid.
有没有对 firebase 或类似的东西的任何试验?
Is there any trial to firebase or something like that?
推荐答案
从您的项目中删除 Google-Info.plist
文件并尝试从您的项目文件夹的选项菜单中添加它.
Remove the Google-Info.plist
file from your project and try to add it from your project folder's option menu.
这就是删除 plist 文件的方法Xcode 10 错误:多个命令产生
this is how you remove a plist file Xcode 10 Error: Multiple commands produce
这篇关于在您的项目中找不到有效的 GoogleService-Info.plist的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!