美文网首页
Flutter 启动崩溃 VM snapshot must be

Flutter 启动崩溃 VM snapshot must be

作者: Pandakingli | 来源:发表于2019-05-29 10:50 被阅读0次
    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就可以了

    相关文章

      网友评论

          本文标题:Flutter 启动崩溃 VM snapshot must be

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