I upgraded to fluter 2.5 from 2.2.3. Then I returned it back to version 2.2.3. After that, I cannot start debugging mod on a real ios phone, stuck on Installing and launching. Removing the fluter cache and clearing the fluter does not help.
[VERBOSE-2:shell.cc(93)] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
[VERBOSE-2:dart_isolate.cc(170)] Could not prepare isolate.
[VERBOSE-2:runtime_controller.cc(382)] Could not create root isolate.
[VERBOSE-2:shell.cc(576)] Could not launch engine with configuration.