barcode_scanner
barcode_scanner copied to clipboard
example error
[!] CocoaPods could not find compatible versions for pod "Firebase/Auth": In snapshot (Podfile.lock): Firebase/Auth (= 10.3.0)
In Podfile:
firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 4.17.9, which depends on
Firebase/Auth (= 10.22.0)
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. To update the CocoaPods specs, run: pod repo update
Error: Error running pod install
pod repo update will solve your problem!
I encounter this issue when I updated google_mobile_ads from 4.0.0 to 5.0.0. Pod repo update solve it for me & as you can see it changes MinimumOSVersion in info.plist from 11 to 12.
Still if it does not work then
first delete pod folder, podfile, podfile.lock and then flutter clean flutter pub get In podfile change => platform : ios, '14.0', //Uncomment this cd ios pod install cd .. flutter build ios