Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter GoogleMaps conflict with Cocoapods

I have runed pod install in vs code terminal but I'm receiving this error :

[!] CocoaPods could not find compatible versions for pod "GoogleMaps": In Podfile: google_maps_flutter_ios (from .symlinks/plugins/google_maps_flutter_ios/ios) was resolved to 0.0.1, which depends on GoogleMaps (< 9.0, >= 8.4)

Specs satisfying the GoogleMaps (< 9.0, >= 8.4) dependency were found, but they required a higher minimum deployment target.

Please can anyone help me ?

I have runed pod install in vs code terminal but I'm receiving this error :

like image 728
Youssouf Hassan Moussa Avatar asked Jun 05 '26 23:06

Youssouf Hassan Moussa


1 Answers

Open Podfile and set the iOS version to 14.0 , because this line did the trick :) enter image description here

Then go to the main project folder and run the below lines into terminal:

cd ios
rm Podfile.lock
pod install --repo-update

Happy Coding!

like image 158
Rezwan Avatar answered Jun 10 '26 08:06

Rezwan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!