[英]Firebase configration is crashing in swift
設定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
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.