code signing is required for product type 'Application' in SDK 'iOS 6.1'

如果遇到code signing is required for product type 'Application' in SDK 'iOS X.X'

PROJECT --> Build Settings --> Code Signing --> Code Signing Identity设置为 iPhone Developer

TARGETS --> Build Settings --> Code Signing --> Code Signing Identity设置为 iPhone Developer

如果之前遇到Organizer的证书许可的警告,

请将你的证书更新,在developer.apple.com 

iOS Provisioning Portal看看证书是不是不对,可能里边只有其他电脑上申请的证书,在新机器上当然不行,重新申请一个(钥匙串访问->证书助理 ...),添加一个新证书,然后再xcode ->organizer 更新设备,然后就没有然后了,直接clean->build

还可以拷贝 证书正确的机器上的证书,在新机器上重新安装证书,基本上就没问题了

posted on 2013-02-05 16:48  charles小白  阅读(1322)  评论(0)    收藏  举报