Skip to content

[firebase_core]: 'pod update' cannot be done when 'firebase core' is updated to the latest version #12742

Closed
@ynmain

Description

@ynmain

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

No response

Which platforms are affected?

No response

Description

When I do 'pod update' I get the following error

firebase_storage: Using Firebase SDK version '10.24.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
  In Podfile:
    firebase_storage (from `.symlinks/plugins/firebase_storage/ios`) was resolved to 11.7.4, which depends on
      Firebase/Storage (= 10.24.0) was resolved to 10.24.0, which depends on
        FirebaseStorage (~> 10.24.0) was resolved to 10.24.0, which depends on
          GTMSessionFetcher/Core (< 4.0, >= 2.1)

    google_mlkit_text_recognition (from `.symlinks/plugins/google_mlkit_text_recognition/ios`) was resolved to 0.6.0, which depends on
      GoogleMLKit/TextRecognition (~> 4.0.0) was resolved to 4.0.0, which depends on
        MLKitTextRecognition (~> 2.0.0) was resolved to 2.0.0, which depends on
          MLKitVision (~> 5.0) was resolved to 5.0.0, which depends on
            GTMSessionFetcher/Core (< 3.0, >= 1.1)

    google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`) was resolved to 0.0.1, which depends on
      GTMSessionFetcher (>= 3.4.0) was resolved to 3.4.1, which depends on
        GTMSessionFetcher/Full (= 3.4.1) was resolved to 3.4.1, which depends on
          GTMSessionFetcher/Core (= 3.4.1)

    google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`) was resolved to 0.0.1, which depends on
      GoogleSignIn (~> 7.1) was resolved to 7.1.0, which depends on
        GTMAppAuth (< 5.0, >= 4.1.1) was resolved to 4.1.1, which depends on
          GTMSessionFetcher/Core (< 4.0, >= 3.3)

    google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`) was resolved to 0.0.1, which depends on
      GoogleSignIn (~> 7.1) was resolved to 7.1.0, which depends on
        GTMSessionFetcher/Core (~> 3.3)

CocoaPods could not find compatible versions for pod "MLKitVision":
  In Podfile:
    google_mlkit_commons (from `.symlinks/plugins/google_mlkit_commons/ios`) was resolved to 0.3.0, which depends on
      MLKitVision

    google_mlkit_text_recognition (from `.symlinks/plugins/google_mlkit_text_recognition/ios`) was resolved to 0.6.0, which depends on
      GoogleMLKit/TextRecognition (~> 4.0.0) was resolved to 4.0.0, which depends on
        MLKitTextRecognition (~> 2.0.0) was resolved to 2.0.0, which depends on
          MLKitVision (~> 5.0)

GTMSessionFetcher/Core dependency versions appear to be inconsistent

I would like you to address this issue

Reproducing the issue

Make pubspec like below

  google_sign_in: 6.2.1
  firebase_core: 2.30.1
  firebase_auth: 4.19.4
  firebase_analytics: 10.10.4
  firebase_storage: 11.7.4
  cloud_firestore: 4.17.2
  firebase_remote_config: 4.4.4
  firebase_ui_auth: 1.14.0
  firebase_ui_firestore: 1.6.3
  google_mobile_ads: 5.0.0
  firebase_ui_oauth_apple: 1.2.20
  firebase_ui_oauth_google: 1.3.2
  sign_in_with_apple: 6.1.0

Firebase Core version

2.30.1

Flutter Version

3.19.3

Relevant Log Output

No response

Flutter dependencies

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

Additional context and comments

I tried everything clean etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionThis issue needs maintainer attention.platform: iosIssues / PRs which are specifically for iOS.plugin: coreresolution: invalidThis doesn't seem right and might not belong here.type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions