Command /usr/bin/codesign failed with exit code 1错误解决

xcode8打开老项目报Command /usr/bin/codesign failed with exit code 1。终端输入以下命令可解决。

cd ~/Library/Developer/Xcode/DerivedData
xattr -rc .

或者

xattr -rc ~/Library/Developer/Xcode/DerivedData

你可能感兴趣的:(Command /usr/bin/codesign failed with exit code 1错误解决)