.app: resource fork, Finder information, or similar detritus not allowed

早上打开Xcode,Build工程时发现报错了

.app: resource fork, Finder information, or similar detritus not allowed

Google到解决方案:

在终端 cd 到 DerivedData 目录
/Users/you_name/Library/Developer/Xcode/DerivedData
和工程目录,执行下面的命令

$ xattr -rc .

重启Xcode,Build 搞定

参考:
https://forums.developer.apple.com/thread/48726
https://forums.developer.apple.com/thread/48905

你可能感兴趣的:(.app: resource fork, Finder information, or similar detritus not allowed)