xcode8 错误:resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1

真机测试可以,但是要打包的时候出现这个问题,有人会解决吗?/Applications/yuwen1u.app: resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1两天了,还没解决,帮忙一下了

xcode8 错误:resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1_第1张图片
图片发自App

解决办法来了:

第一步,打开终端,进入到你工程目录

第二步,输入命令:xattr -rc .

就可以。如下图

xcode8 错误:resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1_第2张图片
图片发自App

你可能感兴趣的:(xcode8 错误:resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1)