Skip to content

[firebase_analytics]: iOS: incompatible flutterfire version with the rest of the ecosystem #18106

Description

@M-Ahal

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Analytics

Which platforms are affected?

iOS

Description

The following (currently) latest set of package versions are not compatible:

  # Firebase
  firebase_analytics: 12.1.3
  firebase_crashlytics: 5.0.8
  firebase_remote_config: 6.2.0
  cloud_firestore: 6.1.3

The pub get runs successfully, but when trying to build for iOS, I get the following error:

xcodebuild: error: Could not resolve package dependencies:
  Failed to resolve dependencies Dependencies could not be resolved because 'firebase_core' depends on 'flutterfire' 4.4.0-firebase-core-swift and 'firebase_analytics' depends on 'flutterfire' 4.5.0-firebase-core-swift.

Futhermore, I have not yet found a combination of these versions that work together for their minor versions

Reproducing the issue

  1. These set of dependencies
  2. Run on iOS
  3. Not reproducible with pub get but only when actually trying to run the application

Firebase Core version

4.5.0

Flutter Version

3.38.5

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

pubspec.lock.txt
Package.resolved.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionThis issue needs maintainer attention.resolution: userThis was a user issue, e.g. invalid configuration or code.type: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions