Reputation: 11
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.
Upvotes: 1
Views: 13121
Reputation: 127
Run this command and it resolve the issue:
flutter run --release
and then follow the steps, if needed, to add trust in your phone. simply go to setting in you phone-> general->device management->trust the apple id
Upvotes: 8
Reputation: 136
the flow goes like this:
Upvotes: 1