Cannot update or install pods due to recent MLKit dependency update
klivin opened this issue · 2 comments
klivin commented
Before updating to latest firebase_auth, this pub was working fine. Now there is a dependency conflict due to GTMSessionFetcher/Core
[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
In Podfile:
firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 4.2.0, which depends on
Firebase/Auth (= 10.3.0) was resolved to 10.3.0, which depends on
FirebaseAuth (~> 10.3.0) was resolved to 10.3.0, which depends on
GTMSessionFetcher/Core (< 4.0, >= 2.1)
google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/ios`) was resolved to 0.0.1, which depends on
GoogleSignIn (~> 6.2) was resolved to 6.2.4, which depends on
GTMAppAuth (~> 1.3) was resolved to 1.3.1, which depends on
GTMSessionFetcher/Core (< 3.0, >= 1.5)
google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/ios`) was resolved to 0.0.1, which depends on
GoogleSignIn (~> 6.2) was resolved to 6.2.4, which depends on
GTMSessionFetcher/Core (< 3.0, >= 1.1)
qr_mobile_vision (from `.symlinks/plugins/qr_mobile_vision/ios`) was resolved to 0.0.1, which depends on
GoogleMLKit/BarcodeScanning was resolved to 0.60.0, which depends on
GoogleMLKit/MLKitCore (= 0.60.0) was resolved to 0.60.0, which depends on
MLKitCommon (~> 0.60.0) was resolved to 0.60.0, which depends on
GTMSessionFetcher/Core (~> 1.1)
I'm using qr_mobile_vision: ^4.0.1
. Uninstalling this pub fixes this problem.
klivin commented
Anyone here looking for a temporary solution, this worked for me:
rmtmckenzie commented
hopefully this is resolved by now as it seems a completely external issue. If anyone sees problems related to this, reopen the issue.
I'm purposefully not specifying the version of GoogleMLKit/BarcodeScanning in the podspec for this plugin so you should be able to tie it to a particular version if your Podfile.