真机测试及布署Code Sign error问题总结

来源:互联网 发布:和明星合影软件 编辑:程序博客网 时间:2024/04/30 16:11

苹果官方的帮助文档

除此之外可能的情况:

Code Sign error: Certificate identity 'iPhone Developer: idf (XR9HN3TD7E)' appears more than once in the keychain. The codesign tool requires there only be one.
原因是证书,下载安装重复了,找到安装证书的位置,删除一个就ok了。


Code Sign Error: Provisioning Profile can't be found.
右键*.xcodeproj文件,显示包内容,texteditor打开project.pbxproj文件,搜索类似
PROVISIONING_PROFILE = "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB";


CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 5.1'


No unexpired provisioning profiles found that contain any of the keychain's signing certificates

Organizer->Devices->Provisioning Profiles 中的App Identifier的com及之后部分是否与TARGETS->Summary->iOS Application Target->Bundle Identifier 相符,特别是后面的项目名称


原创粉丝点击