0

I think there is a problem with firebase database.

  • flutter clean
  • rm -Rf ios/Pods
  • rm -Rf ios/.symlinks
  • rm -Rf ios/Flutter/Flutter.framework
  • rm -Rf ios/Flutter/Flutter.podspec
  • flutter pub get
  • cd ios
  • pod install
  • arch -x86_64 pod install //(On an M1 mac use => arch -x86_64 pod install)
  • cd ..
  • flutter build ios
  • flutter run

I typed them all in the terminal in order, but it didn't fix it.

[!] CocoaPods could not find compatible versions for pod "Firebase/Database":
  In Podfile:
    firebase_database (from `.symlinks/plugins/firebase_database/ios`) was resolved to 9.1.2, which depends on
      Firebase/Database (= 9.3.0)

    flutter_geofire (from `.symlinks/plugins/flutter_geofire/ios`) was resolved to 0.0.1, which depends on
      GeoFire (~> 4.0) was resolved to 4.1.0, which depends on
        Firebase/Database (~> 6.0)
  • I think this older post may help you out https://stackoverflow.com/questions/50294424/geofire-on-ios-with-firebase-5?rq=1 – MANISH DAYMA Oct 06 '22 at 12:43

0 Answers0