Simonyan
Simonyan

Reputation: 21

flutter debug on ios simulator not working

crash when build ios,here is logs:

Xcode build done.                                            7.1s
[VERBOSE-2:shell.cc(178)] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
[VERBOSE-2:engine.cc(176)] Could not prepare to run the isolate.
[VERBOSE-2:engine.cc(123)] Engine not prepare and launch isolate.
[VERBOSE-2:FlutterEngine.mm(294)] Could not launch engine with configuration.
Lost connection to device.

android is OK, is there configure wrong?

Upvotes: 0

Views: 3732

Answers (2)

Shubhra Deshpande
Shubhra Deshpande

Reputation: 107

Yeah it seems like sdk has been altered. delete flutter/bin/cache folder. restart the app, it will be running.

Upvotes: 0

Simonyan
Simonyan

Reputation: 21

I delete the bin/cache directory in Flutter installation directory, then try flutter doctor -v and try again, success!

Hope it useful for someone else.

Upvotes: 2

Related Questions