Xcode 4.2 中的“未找到有效签名身份" [英] 'Valid Signing Identity Not Found' in Xcode 4.2

查看:35
本文介绍了Xcode 4.2 中的“未找到有效签名身份"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道还有其他问题与此非常相似,但它们的症状与我的不太一样.

I know there are other questions that are very similar to this, but their symptoms aren't quite the same as mine.

我有一个应用程序,我一直在尝试提交到 App Store.我正在运行 Xcode 3.2.6,并且不断从 iTunes Connect 收到无效二进制错误.我最终找到了一个指向升级 Xcode 的答案,所以我下载了 4.2.

I have an app that I've been trying to submit to the App Store. I was running Xcode 3.2.6, and I kept getting an Invalid Binary error from iTunes Connect. I eventually found an answer that points to upgrading Xcode, so I downloaded 4.2.

现在的问题是 Xcode 无法识别我用于配置文件的分发证书.我尝试添加配置文件,它在标题中给出了错误消息.此外,如果我尝试自动设备配置,分发配置文件会完全消失.

Now the problem is that Xcode won't recognize the distribution certificate that I used for the provisioning profile. I tried adding the profile and it gives the error message in the title. Also, if I try the Automatic Device Provisioning, the Distribution profile disappears completely.

这给我带来了一些麻烦已经有一段时间了.我知道我的钥匙串中有分发证书,所以我认为 Xcode 由于某些奇怪的原因很难看到它.如果你有答案,请给出.如果您需要更多信息,请继续询问.我只需要找到一个解决方案...

This has been causing me some trouble for quite some time now. I know I have the Distribution certificate in my Keychain, so I think that Xcode is having a hard time seeing it for some strange reason. If you have an answer, please give it. If you need more info, go ahead and ask. I just need to find a solution...

我正在考虑通过文本编辑和手动添加分发配置文件来深入研究项目文件.在说 PROVISIONING_PROFILE = "" 的部分,我在引号之间放了什么?

I'm thinking of diving into the project file through text edit and manually adding the distribution profile. At the part that says PROVISIONING_PROFILE = "", what do I put between the quotation marks?

推荐答案

听起来您可能没有最初用于与 Apple 生成证书的私钥.如果您在打开钥匙串访问并单击证书时安装了私钥,则会出现一个显示三角形,您应该能够下拉并查看该证书的私钥,如下所示:

It sounds like you might not have the private key that you used to generate the certificate with Apple originally. If you have the private key installed when you open keychain access and click on certificates there would be a disclosure triangle you should be able to drop down and see the private key for that certificate like so:

如果您没有此密钥,则需要删除您当前拥有的证书,请转到 iOS 配置门户,撤销您当前的证书并创建一个新证书.整个过程不应超过 10 分钟.

If you don't have this key you need to delete the certificate you currently have, go to the iOS provisioning portal, revoke your current certificate and create a new one. The whole process shouldn't take more than 10 minutes.

这篇关于Xcode 4.2 中的“未找到有效签名身份"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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