└── README.md
/README.md:
--------------------------------------------------------------------------------
1 | # fix_most_flutter_errors
2 |
3 | These commands will solve many issues that you face when running a flutter app on an IOS device. It will also free some space by deleting the derived data in your xCode folder.
4 |
5 | Make sure you are in the root of your Flutter project and paste the following code in your terminal:
6 |
7 |
8 |
9 | flutter clean &&
10 | rm -Rf ios/Pods &&
11 | rm -Rf ios/.symlinks &&
12 | rm -Rf ios/Flutter/Flutter.framework &&
13 | rm -Rf Flutter/Flutter.podspec &&
14 | rm ios/podfile.lock &&
15 | cd ios &&
16 | pod deintegrate &&
17 | sudo rm -rf ~/Library/Developer/Xcode/DerivedData &&
18 | flutter pub cache repair &&
19 | flutter pub get &&
20 | flutter pub upgrade &&
21 | flutter pub upgrade --major-versions &&
22 | Pod update &&
23 | pod install &&
24 | flutter run
25 |
--------------------------------------------------------------------------------