您可能会想,不再是这样的问题了,那里已经有成千上万的主题.但是,我无法找到解决此问题所需的答案.
You might think, not again such a question where are already thousands of topics about. However, I've not been capable of finding the answer I needed to fix this problem.
这些主题都没有钥匙扣那么深.
None of these topics go as deep as the Keychain.
当我尝试将应用程序部署到iPhone时,收到以下消息:
When I'm trying to deploy my app to an iPhone, I'm receiving the following message:
Code Sign error: The identity 'iPhone Developer: [Name] ([ID])' doesn't match any valid, non-expired certificate/private key pair in your keychains.现在,如前所述,我一直在寻找多种指南或修补程序,但是似乎没有一个可以解决此问题.
Now, as said, I have been looking for multiple guides or fixes, however, none of them seemed to fix this issue.
我尝试过的事情:
- 无数次地使用Apple的演练进行应用程序部署
- 在互联网上搜索有关应用部署的指南
- 更改了"xcodeproj"包中"pbxproj"文件的内容.
- 使用Xcode 4.6中的刷新"按钮从Apple的服务器中检索所有可用的配置文件(允许您自动获取)
尝试了所有这些方式之后,我仍然无法解决问题.我看到的一个问题是,第一手钥匙串中的证书显示的状态无效,现在可以解决.
After trying all of these ways, I've still not been able to solve the issue. One problem I've seen is that at first hand, the certificate in the Keychain was showing an invalid status, which is now solved.
但是,如果我是对的,那么应该在证书上附加两个密钥.公钥和私钥,并且不会显示.
However, if I'm right, there are supposed to be two keys attached to the certificate. A public and private key, and these are not showing.
钥匙串访问"的密钥"选项卡中没有显示任何密钥.
Neither are there any keys showing in the Keys tab in the Keychain Access.
(感谢nsgulliver)
(Thanks to nsgulliver)
推荐答案
安装在设备上或为目标设备签名的配置文件可能无效,请尝试转到Organizer->Provisioning profile并查看配置文件是否具有有效状态?如果不是,请尝试删除&刷新它们,如果它们在刷新后显示有效,那么它可能会解决您的问题,否则,您应该从keychain中删除所有条目,并删除配置门户上的配置文件,并尝试从头开始创建,如果仍然遇到问题,则采取来自逐步指南教程
Provisioning profiles installed on the devices or signed with for the target might not be valid, try to go to Organizer->Provisioning profile and see if the profiles have the valid status? if not try to delete & refresh them, if they appear valid after refreshing then it might solve your problem if not then you should remove all the entries from keychain and delete profiles on your provisioning portal and try to create from scratch, if you still face the problem then take help from step by step guide tutorial
更多推荐
Xcode代码签名错误,因为钥匙串中没有钥匙
发布评论