Firebase的移民快速崩溃

时间:2021-10-10 20:18:24

App is crashing while configure firebase,Unable to resolve

配置firebase时,应用程序崩溃,无法解析

Error:libc++abi.dylib: terminating with uncaught exception of type NSException

错误:libc ++ abi.dylib:以NSException类型的未捕获异常终止

Code:

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
        }

Firebase的移民快速崩溃

1 个解决方案

#1


0  

  1. Check if the application works without Firebase. Delete or comment out the lines of connection to the Firebase.
  2. 检查应用程序是否在没有Firebase的情删除或注释掉与Firebase的连接线。

  3. If the application is working without errors, then go back to the initial code and check the GoogleService-Info.plist. The BUNDLE_ID must be the same as the Bundle Identifier of the application.
  4. 如果应用程序正常运行,请返回初始代码并检查GoogleService-Info.plist。 BUNDLE_ID必须与应用程序的Bundle Identifier相同。

#1


0  

  1. Check if the application works without Firebase. Delete or comment out the lines of connection to the Firebase.
  2. 检查应用程序是否在没有Firebase的情删除或注释掉与Firebase的连接线。

  3. If the application is working without errors, then go back to the initial code and check the GoogleService-Info.plist. The BUNDLE_ID must be the same as the Bundle Identifier of the application.
  4. 如果应用程序正常运行,请返回初始代码并检查GoogleService-Info.plist。 BUNDLE_ID必须与应用程序的Bundle Identifier相同。