'`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'
我已经尝试将新的GoogleService-Info.plist替换到我的项目中,但是仍然存在相同的问题。
您需要从Firebase控制台下载GoogleService-Info.plist文件。
GoogleService-Info.plist
为此,将控制台回家。单击左侧导航栏中settings icon旁边的Project Overview。然后向下滚动并找到此对话框:
settings icon
Project Overview
从那里,下载并添加到xcode中的根目录中,该错误应消失。
[请确保您的plist文件为:
或尝试如下从菜单中添加该文件