firebase-ios-sdk: Crash In Did Finish Launch Application

After the pod update app is crashing in did finish application. This crash is not happening in the previous pod version . Please find the attached logs and the pod versions

Firebase 6.20.0 Firebase core 6.6.4 Firebase performance 3.1.10 Firebase analyticas 6.3.1

Xcode Version: 11.3.1 iOS Version: 13.3

====================================

The default FirebaseApp instance must be configured before the defaultFirebaseApp instance can be initialized. One way to ensure that is to call [FIRApp configure]; (FirebaseApp.configure() in Swift) in the App Delegate’s application:didFinishLaunchingWithOptions: (application(_:didFinishLaunchingWithOptions:) in Swift). (null)

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

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 33 (11 by maintainers)

Most upvoted comments

I checked which version caused the same problem and got the following results.

  • 6.15.0 <- OK
  • 6.16.0 <- OK
  • 6.17.0 <- OK
  • 6.18.0 <- NG (Crash occurs)
  • 6.19.0 <- NG
  • 6.20.0 <- NG
  • 6.21.0 <- NG

@rickrvo I would still suggest to try converting the modules to static frameworks as the easiest and the most starlight workaround working with the current Firebase versions. When evaluating the result please take into account that reducing amount of dynamic libraries used by your app will reduce the app launch time which will improve experience of the app users.

Allowing packaging Firebase as dynamic frameworks as another approach is being considered (see #2022). There are still open questions that block implementation of it. If you have other ideas feel free to file a separate future request ticket. Thanks.