V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
wentian2
V2EX  ›  问与答

iOS14 debug 安装的带有 flutter 应用从桌面图标重新启动时闪退

  •  
  •   wentian2 · 2020-09-25 10:59:31 +08:00 · 1184 次点击
    这是一个创建于 1302 天前的主题,其中的信息可能已经有所发展或是发生改变。

    刚刚升级遇到的问题,希望能够帮助到遇到相同问题的人。

    1. 用 xcode12 连接 iOS 设备调试安装应用
    2. 拔掉数据线
    3. 从桌面图标点击进入 App 必闪退

    后来发现是 flutter 的原因,目前有下面两种个解决方案:

    1. 使用 flutter 的 release 模式 flutter run --release
    2. 使用 flutter 的 beta 版本 v1.22

    参考文章:

    1. https://medium.com/flutter/supporting-ios-14-and-xcode-12-with-flutter-15fe0062e98b
    2. https://github.com/flutter/flutter/issues/66175
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   903 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:18 · PVG 05:18 · LAX 14:18 · JFK 17:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.