Home > Mobile >  Can't install pod in flutter project problem with Firebase/Database
Can't install pod in flutter project problem with Firebase/Database

Time:10-12

enter image description here

The version i used firebase_database: ^9.1.7, flutter_geofire: ^2.0.0

CodePudding user response:

Run:

 $ flutter pub add flutter_geofire

This will add a line like this to your package's pubspec.yaml:

dependencies:
  flutter_geofire: ^2.0.1

CodePudding user response:

Try

pod update and then pod install

CodePudding user response:

A way I 'reset' pods:

cd ios

mv Podfile podfile-bak

rm -rf Pod*

pod init

mv podfile-bak Podfile

pod install

pod update

cd ..

flutter run

  • Related