启动时构建iOS崩溃时崩溃 [英] Crash when startup build iOS flutter

查看:142
本文介绍了启动时构建iOS崩溃时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有确切的问题。我的应用程序在多部iphone上安装正常,但在启动时同样崩溃。从Xcode手动运行应用程序会在控制台上生成此内容:

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)]虚拟机快照必须有效。

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)]检查失败:虚拟机。必须能够初始化虚拟机

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 ?

推荐答案

我遇到了同样的问题,解决了

I have the same issue, solved by


  1. 在xcode中, 产品->清洁构建文件夹

  2. flutter clean

  3. flutter run --release

这篇关于启动时构建iOS崩溃时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆