flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
907 stars 709 forks source link

Upgrade ios dependencies #612

Closed SherpaMiguel closed 2 months ago

SherpaMiguel commented 2 months ago

Firebase Core 2.3.0 seems to be incompatible with google_ml_kit. Firebase SDK for iOS has been upgraded to 10.24.0 and some error occurs installing pods due to incompatible dependencies.

[!] 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.2, 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.11.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.6.1, which depends on
      MLKitVision

    google_mlkit_text_recognition (from `.symlinks/plugins/google_mlkit_text_recognition/ios`) was resolved to 0.11.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)
Mikkelet commented 2 months ago

Try this PR https://github.com/flutter-ml/google_ml_kit_flutter/pull/613

SherpaMiguel commented 2 months ago

Try this PR https://github.com/flutter-ml/google_ml_kit_flutter/pull/613

Thank you so much

Wackymax commented 2 months ago

@fbernaly is the release for this still happening soon or should I use the PR in the interim?

fbernaly commented 2 months ago

I am planning to release today or tomorrow, depending on how quickly the contributors and authors submit the changes in the pending PRs

Mikkelet commented 2 months ago

edit: nevermind, the new dep updates have fixed the issues!

google_mlkit_text_recognition: ^0.12.1 works with google_sign_in: ^6.2.1 again