1.Valid signing identity not found 如果使用推送,证书Certificates不能选那个推送的证书
Apple Push Notification service SSL (Sandbox),选正常的就行。
2.
Command /usr/bin/codesign failed with exit code 1
查看详细信息提示:CSSMERR_TP_NOT_TRUSTED
是由于删掉了,钥匙串里的系统-证书里的Apple Woldwide Developer Relations Certification Authority,它是iPhone Developer证书的签发者,如果它被删除就会导致iPhone Developer证书被识别为未知颁发机构签名
从Apple官网下载一个
http://www.apple.com/certificateauthority/
找到 Woldwide Developer Relations 选择 Download certificate