Xcode - iPhone - 配置文件与默认钥匙串中的任何有效证书/私钥对不匹配 [英] Xcode - iPhone - profile doesn't match any valid certificate-/private-key pair in the default keychain

查看:67
本文介绍了Xcode - iPhone - 配置文件与默认钥匙串中的任何有效证书/私钥对不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将我的 iPhone 添加到 Xcode4 以在其上测试我的应用程序.我在 Apple Developer-Center 中添加了设备并下载了 Provision-Profile.我们每月为该帐户支付 99 美元,我不是唯一使用此帐户的人.因此,已经存在一个较旧"的证书,我试图将其添加到我的钥匙串管理器中.但我看到上面有一个红色文本(从德语翻译)此证书已由未知实例签名.".

I tried to add my iPhone to Xcode4 to test my Application on it. I added the device in the Apple Developer-Center and downloaded the Provision-Profile. We pay 99$ per month for the account and I'm not the only person who use this account. So there is already an "older" certificate present which I tried to add to my keychain-manager. But I see a red-text above it (translated from german) "This certificate has been signed by an unknown instance.".

在我的 XCode-Device Manager 中的 Provisioning-Section 中也出现错误:XCode 在您的钥匙串中找不到此配置文件的有效私钥/证书对."

In my XCode-Device Manager in the Provisioning-Section there's also an error: "XCode could not find a valid private-key/certificate pair for this profile in your keychain."

我真的不明白我现在要做什么.这些钥匙可能真的不存在于我的钥匙串中,我找不到它们.那么如果 Apple Dev-Center 中已经有一个证书,那么我必须如何创建它们以及如何使用它们?

I really don't understand what I have to do now. These keys may really not exist in my keychain, I can't find them. So how I have to create them know and how can I use them if there is already one certificate in the Apple Dev-Center?

推荐答案

要在 Apple 配置文件网站上生成证书,首先你必须在你的 mac 上生成密钥,然后上传公钥.Apple 将使用此密钥生成您的证书.当您下载证书时,您需要拥有私钥才能使用它们.

To generate a certificate on the Apple provisioning profile website, firstly you have to generate keys on your mac, then upload the public key. Apple will generate your certificates with this key. When you download your certificates, tu be able to use them you need to have the private key.

错误XCode 在您的钥匙串中找不到此配置文件的有效私钥/证书对."表示您没有私钥.

The error "XCode could not find a valid private-key/certificate pair for this profile in your keychain." means you don't have the private key.

可能是因为您的 Mac 已重新安装,也可能是因为此密钥是在另一台 Mac 上生成的.因此,为了能够使用您的证书,您需要找到此密钥并将其安装在钥匙串上.

Maybe because your Mac was reinstalled, maybe because this key was generated on another Mac. So to be able to use your certificates, you need to find this key and install it on the keychain.

如果您找不到它,您可以生成新密钥,在配置文件网站上重新启动此过程并获取您可以使用的新证书.

If you can not find it you can generate new keys restart this process on the provisioning profile website and get new certificates you will able to use.

这篇关于Xcode - iPhone - 配置文件与默认钥匙串中的任何有效证书/私钥对不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆