美文网首页
iOS14+ 运行Flutter

iOS14+ 运行Flutter

作者: winsonGali | 来源:发表于2021-03-11 17:31 被阅读0次

    iOS 系统为 14 以及以上后,从 iPhone 桌面运行 flutter 项目,显示:

    In iOS 14+, debug mode Flutter apps can only be launched from Flutter tooling, IDEs with Flutter plugins or from Xcode.
    
    Alternatively, build in profile or release modes to enable launching from the home screen.
    

    解决方案:

    用 release 模式运行项目即可
    VSCode - TERMINAL 输入:

    flutter run --release
    

    相关文章

      网友评论

          本文标题:iOS14+ 运行Flutter

          本文链接:https://www.haomeiwen.com/subject/trroqltx.html