FirebaseInstallations will not work correctly with current version of Firebase Instance ID

Step 1: Describe your environment

  • Xcode version: 11.3.1
  • Firebase SDK version: 6.21.0
  • Firebase Component: Firebase (FirebaseInstanceID & FirebaseInstallations)
  • Component version: 6.21.0
  • Installation method: CocoaPods
  • Deployment info: 13.1

Step 2: Describe the problem

Steps to reproduce:

After doing a pod update, the application throws an error and closes immediately, due to a conflict between the Firebase dependencies, which previously in the version (6.19.0) that we had did not occur.

Terminating app due to uncaught exception ‘com.firebase.installations’, reason: ‘FirebaseInstallations will not work correctly with current version of Firebase Instance ID. Please update your Firebase Instance ID version.’

It should be noted that it only happens since you did the pod update.

We also have a homemade pod that uses frameworks that in turn also use firebase within them, but all of this worked without problem before the update.

image

2 thoughts on “FirebaseInstallations will not work correctly with current version of Firebase Instance ID

  1. I have the same issue after updating FirebaseInstallations to 1.1.1. I downgrade FirebaseInstallations to 1.1.0 and it works fine.

  2. I’m having the same problem, I’m using cocoapods and XCode 11.4.
    I cleaned the project, I cleared derived data and I cleared cocoapod’s cache (the global cache). I ran pod deintegrate, updated all firebase pods to the latest version.
    I don’t know if it might help but I’m also using the Firebase Crashlytics beta.

    If I browse the code in Pods/FirebaseInstanceID and look for the FIRInstanceID+Private.m file, I can see that the code is there:

    + (BOOL)usesFIS {
      return YES;
    }
    

    Nonetheless, the app still crashes as soon as it configures the FirebaseApp