Command /usr/bin/codesign failed with exit code 1

最近遇到一个坑, clean 项目之后模拟器运行报如下错误,查了这个错误大多说是去钥匙串核对证书之类的,感觉我这个不是那种情况,贴出个人的解决办法,

Command /usr/bin/codesign failed with exit code 1_第1张图片

解决办法

1.打开终端 输入 cd ~/Library/Developer/Xcode/DerivedData/     

2.输入   xattr -rc .

https://stackoverflow.com/questions/39652867/code-sign-error-in-macos-sierra-xcode-8-3-3-resource-fork-finder-information

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