This list will be proactively updated
We have all come across this in the Flutter world. A project is not opened for some time and it is bound to have some breaking changes.
Toolkit to the rescue!
Here are some tips that have helped get flutter projects up and running again.
March 13th 2023
🚨 Unknown (turns out it is a pod issue)
- delete Derived data
- Open Runner
- File
- workspace settings
- Derived data ->
- delete everything inside derived data *
- restart computer
flutter upgrade
-
pod install? check [[Cocoapods]] - helped
- sudo gem install cocoapods
-
Now there are breaking changes from third party libraries (drift) - figure those out
- -> ran
flutter pub run build_runner build
and was able to regenerate the .g file, that was the issue RUNS!
- -> ran
March 30th 2023
🚨 [Invalid depfile](https://stackoverflow.com/questions/60872753/invalid-depfile-flutter)
fixed by deleting this import command
import 'dart:html';
and running
flutter clean
flutter pub get
April 20th 2023
🚨 Could not find filename pubspec.yaml
fixed with these commands
seems to be an issue with my pubs cache
Also, make sure you are running terminal commands from the root of your project
June 13th 2024 - Signing certificate issues
🚨Uncategorized (Xcode): Command CodeSign failed with a nonzero exit code
Could not build the application for the simulator.
Error launching application on iPhone 15.
- delete expired certificates
- update bundle identifier and run from XCODE can run on simulator from XCOde, but still will not run from VSCode, at this point.
Top comments (0)