flutter 项目运行ios真机 报错:Could not build the precompiled application for the device .Error launching ...

报错信息:

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 命令,重启,重新运行。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。