V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
wentian2
V2EX  ›  问与答

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

  •  
  •   wentian2 · Sep 25, 2020 · 1893 views
    This topic created in 2042 days ago, the information mentioned may be changed or developed.

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

    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
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5837 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 03:08 · PVG 11:08 · LAX 20:08 · JFK 23:08
    ♥ Do have faith in what you're doing.