- Flutter 启动崩溃 VM snapshot must be
- VM snapshot must be valid. Check
- Flutter-Android趟坑笔记
- Flutter:VM snapshot must be vali
- 集成flutter错误:VM snapshot must be
- flutter混合开发运行报错:VM snapshot must
- VM snapshot must be valid. Check
- Crash App when add flutter modul
- dyld: Library not loaded: @rpath
- 你连Flutter都不会凭什么拿高薪! 阿里P8大牛带你深入理解
VM snapshot must be valid
The issue is that Xcode is trying to run a debug build,
but there are leftover artifacts from the CLI release build
(even when you clean, since Xcode doesn't clean CLI's build directory).
You can get around this in Xcode by changing to the "Release" Build Configuration.
In Xcode, go to Product > Scheme > Edit Scheme, then edit the "Run" scheme --
change the "Build Configuration" to "Release".
Then when you run in Xcode, you'll be running in Flutter's release mode,
and your build artifacts will play nicely with one another.
将Xcode的Scheme切换成Release就可以了
网友评论