【发布时间】:2018-04-08 22:29:20
【问题描述】:
应用程序在配置 firebase 时崩溃,无法解决
错误:libc++abi.dylib:以 NSException 类型的未捕获异常终止
代码:
import UIKit
import Firebase
import FirebaseDatabase
import CoreData
import IQKeyboardManagerSwift
let mainUrl = "https://gopolly.com/well.php/"
@UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate
{
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool
{
FirebaseApp.configure()
IQKeyboardManager.sharedManager().enable=true
return true
}
【问题讨论】:
-
我可以看看hole错误日志吗?
-
请检查 qstn ..谢谢回复
-
您确定是 Firebase 导致了崩溃吗?我之前有 IQKeyboardManager 在启动时让我的应用程序崩溃,所以这里可能也是这种情况。
标签: ios swift firebase firebase-realtime-database firebase-security