Version Conflict with AppAuth Dependency When Using flutter_appauth and google_sign_in_ios
Closed this issue · 1 comments
AristideVB commented
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:
- Add both flutter_appauth and google_sign_in to the pubspec.yaml:
dependencies:
flutter_appauth: ^7.0.0
google_sign_in: ^6.2.1
- Run flutter pub get.
- Run pod update --repo-update
- Fails with the above error message.
AristideVB commented
Was resolved thanks to 7.0.1 release https://github.com/MaikuB/flutter_appauth/releases/tag/flutter_appauth-v7.0.1 🙏🚀