添加图片后xcode报错:resource fork, Finder information, or similar detritus not allowed

/Users/songximing/Library/Developer/Xcode/DerivedData/Children-cvqgzlzddltkfndhdmzedxbnoxwx/Build/Products/Debug-iphonesimulator/Children.app: resource fork, Finder information, or similar detritus not allowed
Command CodeSign failed with a nonzero exit code

 

resource fork, Finder information, or similar detritus not allowed
解决方法:
进入到DerivedData目录,把所有文件都删了。
打开项目工程目录,cd到工程目录下,执行"xattr -rc ."。

参考 https://www.jianshu.com/p/ef6933fc6c61

posted on 2019-01-17 09:59  土匪7  阅读(1198)  评论(0编辑  收藏  举报