报错信息:
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 命令,重启,重新运行。
网友评论