| name | project-sweeper |
| description | Cleans up the Flutter and iOS environments to recover from mysterious build errors and cached states. |
Instructions
When the user complains about "mysterious build errors," "cached states," or issues after pulling new branch changes, or if they face iOS-specific build issues:
1. Flutter Clean and Get
Clean the Flutter build environment and fetch fresh dependencies using the run_in_terminal tool:
flutter clean && flutter pub get
Note for PowerShell, use ; instead of &&: flutter clean; flutter pub get
2. Update iOS Pods
If the developer is actively building for iOS and mentions iOS issues (like a missing plugin), install pods in the ios directory:
cd ios; pod install; cd ..
Inform the user about the results of the cleanup process.