It should be as simple as running:

flutter channel stable
flutter upgrade

But after doing so, I ran into the following error when trying to run integration tests in iOS:

[] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
[] Could not prepare to run the isolate.
[] Engine not prepare and launch isolate.
[] Could not launch engine with configuration.

This person ( seems to have had the same issue and resolved it by running flutter clean, so that's what I did. This time the error was different:

Failed to find assets path for "Frameworks/App.framework/flutter_assets"
Configuring the default Firebase app...
[] Engine run configuration was invalid.
[] Could not launch engine with configuration.

This time I found this other post which seems to give a proper explanation and solution:

I should go to and configure my projet in XCode. I'll try it later!