0
我剛剛更新了火力地堡從3.0到4.0,我使用的斯威夫特3和的Xcode 8.3.3。錯誤與火力地堡4.0 - 「默認的火力地堡應用尚未配置」雖然FirebaseApp.configure()似乎是正確的
我所需要的火力應用程序初始化器,如下圖所示:
func application(_ application:Application, didFinishLaunchingWithOptions launchOptions:[UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Use Firebase library to configure APIs
FirebaseApp.configure()
}
但是,我仍然得到:在堆棧溢出,並就如何什麼新的想法列出
2017-08-07 19:33:56.855 hollerApp[33802] <Error> [Firebase/Core][ICOR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: GOOGLE_URL libc++abi.dylib: terminating with uncaught exception of type NSException(lldb)'
我用盡了一切解決這個問題並加載我的應用程序將是最受歡迎的。
請不要發佈只是鏈接到另一個堆棧溢出帖子的答案。憑藉足夠的聲譽,您將能夠對任何帖子發表評論,並將問題標記爲重複。 – JAL
非常感謝!這是問題。那真讓我害怕。 –
@Jal我沒有足夠的聲望發表評論,他得到了一個不同的錯誤,然後我鏈接的帖子。只是想讓他解決他的問題。 – Torewin