Project cannot build or debug with firebase_crashlytics. In my mac I\'ve updated to Flutter latest but the machine we are deploying the app have lower version (Flutter 1.9.1 hot
Here are two solutions that try to solve this
If anyone kept the ^
in the version like this firebase_core: ^0.4.4+2
, remove it otherwise it will keep using newer versions.
To solve this, Pubspec.yaml
removed ^
from all firebase plugins and flutter clean
.
firebase_auth: 0.15.4
cloud_firestore: 0.13.4
firebase_core: 0.4.4
If you tried the first solution but you getting a still error then there is something problem with .pub-cache
To solve this, run the commands below.
cd ios
pod deintegrate
cd ..
flutter channel stable
flutter upgrade
flutter clean
flutter build ios