真机编译错误:Command /usr/bin/codesign failed with exit
在终端里输入: sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin 并回车,则可解决