Crash when startup build iOS flutter

Viewed 5108

I have the exact issue. My app is installing fine on several iphones but the same crashes at startup. Running the app manually from Xcode produces this on the console :

2018-10-24 16:30:34.984717+0700 Runner[9026:1109274] [VERBOSE-2:dart_vm.cc(263)] VM snapshot must be valid.

2018-10-24 16:30:34.984844+0700 Runner[9026:1109274] [VERBOSE-3:shell.cc(216)] Check failed: vm. Must be able to initialize the VM.

Anyone have idea to fix it ?

1 Answers

I have the same issue, solved by

  1. In xcode, "Product"->"Clean Build Folder"
  2. flutter clean
  3. flutter run --release
Related