![](/img/trans.png)
[英]Firebase: Xcode Could not locate configuration file: 'GoogleService-Info.plist'
[英]Firebase- Could not locate configuration file: 'GoogleService-Info.plist'
我已經下載了它並將其添加到我的Xcode項目中我也根據需要復制了項目..我不明白為什么我仍然會收到此錯誤。 我的app委托中有FIRApp.configure()...有什么提示嗎? 先感謝您。
func application(application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?)
-> Bool {
UINavigationBar.appearance().tintColor = UIColor.greenColor()
UIApplication.sharedApplication().statusBarStyle = .LightContent
FIRApp.configure()
return true
}
我嘗試了很多復制粘貼方法甚至創建/放置資源文件夾中的plist文件,沒有任何工作:(
有時,只使用原始的plist文件是工作的最佳指標,但這是每次使用Xcode(8 - 9)/ swift和Firebase時100%工作的最佳解決方案:
我正在從兩個不同的文件/位置制作FIRApp.configure()
,因為哪個應用程序崩潰了。
你只需要撥打一次電話。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.