Skip to content

Instantly share code, notes, and snippets.

@vincevargadev
Last active December 27, 2021 20:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vincevargadev/da8a46f35ac7ca7a6cdc29cf442b0a5b to your computer and use it in GitHub Desktop.
Save vincevargadev/da8a46f35ac7ca7a6cdc29cf442b0a5b to your computer and use it in GitHub Desktop.
Fix all Flutter issues ever!
rm -f ios/Podfile ios/Podfile.lock pubspec.lock && rm -rf ios/Runner.xcworkspace/xcshareddata/ &&
flutter clean &&
flutter pub cache repair &&
rm -f ios/Podfile ios/Podfile.lock pubspec.lock &&
flutter pub get &&
flutter pub run build_runner clean
@vincevargadev
Copy link
Author

@vincevargadev
Copy link
Author

rm -f ios/Podfile ios/Podfile.lock pubspec.lock && rm -rf ios/Runner.xcworkspace/xcshareddata/ && 
fvm flutter clean &&
fvm flutter pub cache repair &&
rm -f ios/Podfile ios/Podfile.lock pubspec.lock  && 
fvm flutter pub get &&
fvm flutter pub run build_runner clean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment