https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png

| #!/bin/sh | |
| echo "========== Cleanup start ==========" | |
| rm -Rf ios/Pods | |
| rm -Rf ios/.symlink | |
| rm -Rf ios/Flutter/Flutter.framework | |
| rm -Rf ios/Flutter/Flutter.podspec | |
| rm -rf ios/Podfile.lock | |
| rm -rf ~/Library/Developer/Xcode/DerivedData/* -y | |
| rm -rf pubspec.lock | |
| flutter clean |
| # Personal Feeling: using the following jvm config is smoother than default | |
| # My Machine: Macbook pro M1max 64GB | |
| # More Info: https://github.com/FoxxMD/intellij-jvm-options-explained | |
| # Prerequisite (Intellij < 2022.2) | |
| # 1. Install JetBrain Runtime 17 osx-aarch64 for Apple Silicon, https://github.com/JetBrains/JetBrainsRuntime/releases | |
| # 2. Switch the runtime from JetBrain Runtime 11 to 17, https://www.jetbrains.com/help/idea/switching-boot-jdk.html | |
| # JetBrain Toolbox |
| git shortlog -e -s -n |