真机编译错误:Command /usr/bin/codesign failed with exit

真机编译错误:Command /usr/bin/codesign failed with exit

在终端里输入:
sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin

并回车则可解决

原文地址:https://www.cnblogs.com/jiangshiyong/p/2596475.html