Flutter运行iOS模拟器奇怪问题:模拟器无法运行

创建flutter项目,初次运行模拟器iPhone 8是运行成功的

Xcode's output:

    /Users/gongzuo/Desktop/firstFlutterDemo/flutter_two/example/build/ios/Debug-iphonesimulator/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

Could not build the application for the simulator.

Error launching application on iPhone 8.

在网上找解决方案,解决方式五花八门,也都是莫名其妙解决的,具体啥原因也不知道,我都试了一遍,发现都行不通,比如清空缓存、更换模拟器、重启等等都不行,模拟器实在运行不行我就真机运行,发现就可以了,具体为什么就可以了我也不知道,但是之后多次运行都是可以的

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容