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