现在的位置: 首页 > 综合 > 正文

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

2014年09月24日 ⁄ 综合 ⁄ 共 918字 ⁄ 字号 评论关闭

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

除此之外可能的情况:

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 相符,特别是后面的项目名称。

自我总结:出现类似情况还有。在进行developer的真机测试时,也会出现改错误,原因是应将Provisioning文件同时放入手机和Xcode->organizer->LIBRARY->Provisioning files中。

抱歉!评论已关闭.