Created
November 30, 2022 16:02
-
-
Save vbalagovic/34fd4af246329a1c38b186316766daac to your computer and use it in GitHub Desktop.
Switching between multiple flutter versions and projects can cause issue (or project upgrade) this commands will clean your project to run again.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -Rf ios/Pods && \ | |
rm -Rf ios/.symlinks && \ | |
rm -Rf ios/Flutter/Flutter.framework && \ | |
rm -Rf ios/Flutter/Flutter.podspec && \ | |
rm -rf ~/.pub-cache && \ | |
fvm flutter pub get && \ | |
cd ios && fvm flutter precache --ios && pod install --repo-update && cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment