MaikuB / flutter_appauth

A Flutter wrapper for AppAuth iOS and Android SDKs
274 stars 246 forks source link

Version Conflict with AppAuth Dependency When Using flutter_appauth and google_sign_in_ios #549

Closed AristideVB closed 1 month ago

AristideVB commented 1 month ago

I’m encountering a version conflict with the AppAuth pod when using both flutter_appauth and google_sign_in_ios in my Flutter project. The conflict prevents me from building the iOS version of my app.

Error Message:

[!] CocoaPods could not find compatible versions for pod "AppAuth":
  In Podfile:
    flutter_appauth (from `.symlinks/plugins/flutter_appauth/ios`) was resolved to 0.0.1, which depends on
      AppAuth (= 1.7.4)

    google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`) was resolved to 0.0.1, which depends on
      AppAuth (>= 1.7.4)

    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
        AppAuth (< 2.0, >= 1.7.3)

Steps to Reproduce:

  1. Add both flutter_appauth and google_sign_in to the pubspec.yaml:

    dependencies:
    flutter_appauth: ^7.0.0
    google_sign_in: ^6.2.1
  2. Run flutter pub get.

  3. Run pod update --repo-update

  4. Fails with the above error message.

AristideVB commented 1 month ago

Was resolved thanks to 7.0.1 release https://github.com/MaikuB/flutter_appauth/releases/tag/flutter_appauth-v7.0.1 🙏🚀