iOS 奇葩错误集锦之-xx.app:resource fork, Finder information, or similar detritus not allowed

一大早打开项目,换了app的icon图标,运行之后竟然报:“...xxx.app:resource fork, Finder information, or similar detritus not allowed”莫名其妙的错误!

遍寻谷歌百度,找到了行之有效且步骤精简的解决方案:

1,关闭Xcode;

2,打开终端进入到‘DerivedData’目录:
cd ~/Library/Developer/Xcode/DerivedData/

3,在终端输入命令:

xattr -rc .

回车,OK!再次启动程序因该就没毛病了!

你可能感兴趣的:(iOS 奇葩错误集锦之-xx.app:resource fork, Finder information, or similar detritus not allowed)