【发布时间】:2018-01-15 04:02:06
【问题描述】:
我刚刚将 Firebase 从 3.0 更新到 4.0,我正在使用 Swift 3 和 Xcode 8.3.3。
我有所需的 firebase 应用程序初始化程序,如下所示:
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)'
我已经尝试了堆栈溢出中列出的所有内容,欢迎任何关于如何解决此问题和加载我的应用的新想法。
【问题讨论】: