Created
September 22, 2022 18:31
-
-
Save esDotDev/0101beff12a58254e1960f0ddb66509c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
flutter clean | |
rm -rf $FLUTTER_ROOT/.pub-cache | |
rm -rf $HOME/Library/Caches/CocoaPods | |
rm -rf ios/Pods | |
rm -rf ios/build | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" | |
rm -rf ~/Library/Developer/Xcode/DerivedData/ | |
rm -rf ~/Library/Caches/com.apple.dt.Xcode/ | |
cd ios | |
rm Podfile.lock | |
pod cache clean --all | |
flutter pub cache repair | |
flutter pub get | |
pod install | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment