执行flutter run
会发生以下错误,
Xcode's output:
↳
/Users/zzz/Desktop/pro/flutter/myap/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: Planning build
note: Constructing build description
Could not build the precompiled application for the device.
Error launching application on iphone11 pro max.
当我在当前目录下执行:
xattr -rc .
接着执行flutter run
它就可以了,
但是中断项目,
例如ctrl + c
后再执行flutter run
就会出现最开始的情况。
要想再继续运行项目,我就还得执行一遍
xattr -rc .
是什么原因让我多此一举了......