美文网首页
flutter 项目运行ios真机 报错:Could not b

flutter 项目运行ios真机 报错:Could not b

作者: 冰点雨 | 来源:发表于2020-06-17 13:45 被阅读0次

    报错信息:

    Xcode's output:
    ↳
        /Users/yifanguo/Desktop/flutter/flutter_guikejia_test/build/ios/Debug-iphoneos/Runner.app: resource fork, Finder information, or similar detritus not allowed
        Command CodeSign failed with a nonzero exit code
        note: Using new build system
        note: Building targets in parallel
        note: Planning build
        note: Constructing build description
        warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'FMDB' from project 'Pods')
    
    Could not build the precompiled application for the device.
    
    Error launching application on “xx”的 iPhone.
    

    解决方法

    xcode清除缓存,重启,然后在flutter项目目录下执行 flutter clean 命令,重启,重新运行。

    相关文章

      网友评论

          本文标题:flutter 项目运行ios真机 报错:Could not b

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