Xcode 6 App Store 提交失败并显示“您的帐户已经拥有有效的 iOS 分发证书"; [英] Xcode 6 App Store submission fails with "Your account already has a valid iOS distribution certificate"

查看:28
本文介绍了Xcode 6 App Store 提交失败并显示“您的帐户已经拥有有效的 iOS 分发证书";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是最新的 XCode (6.1),我需要尽快提交应用,但我似乎无法解决您的帐户已经拥有有效的 iOS 分发证书"错误.

I'm using the latest XCode (6.1) and I need to submit the app as soon as possible, but I can't seem to get around the "Your account already has a valid iOS distribution certificate" error.

我有客户的配置文件,我有他的分发证书(有效)和他的私钥(我已经使用钥匙串检查过,它肯定在那里).捆绑 ID 也是正确的.我已经删除了我的配置文件和证书,并重新安装了客户端很多次.

I have the client's provisioning profile and I have his distribution certificate (which is valid) and his private key (I've checked using Keychain, it's definitely there). The bundle ID is also correct. I've deleted my provisioning profiles and certificates and reinstalled the client's many times now.

是什么导致了这个问题?我已经在 SO 上看到了很多关于这个问题的主题,所以我事先为创建另一个克隆而道歉,但我真的不知道如何解决这个问题.

What could be causing this issue? I've seen a lot of topics here on SO with this problem, so I apologise beforehand for creating yet another clone, but I really don't know how to fix this.

编辑:顺便说一下,我正在运行全新安装的优胜美地

edit: I'm running a brand new install of Yosemite by the way

推荐答案

通过在开发者会员中心编辑 iOS Distribution Provision Profile 解决了这个问题.

Got it solved by editing the iOS Distribution Provision Profile in the Developer Member Center.

出于某种原因,分发供应配置文件有 2 个证书可供选择.我切换到另一个证书,我可以验证并提交我的存档版本以进行 Beta 测试.

For some reason there were 2 certificates to choose from for the Distribution Provisioning Profile. I switched over to the other certificate and I could Validate and Submit my Archive build for beta testing.

因此,您可能有多个证书用于签署您的 Provision 配置文件.确保您有正确的选择(通过尝试所有方法),并希望它能够奏效.

So, you may have more than one certificate for signing your Provision profiles. Make sure you have the right one (by trying all of them) and hopefully that should work.

我尝试了很多方法,例如从 Xcode 帐户导出开发人员配置文件并将其导入到管理器中,从会员中心安装配置文件,将它们添加到我的钥匙串中.但这些都没有奏效.它仅在手动编辑适当的配置文件后才开始工作.

I tried many things like Exporting Developer profile from Xcode Accounts and importing it in the organizer, installing the provision profiles from the member center, adding them to my keychain. But none of those worked. It started working only after editing the appropriate Provisioning Profile manually.

您也可以尝试删除所有可用的配置文件,让 Xcode 为您创建新的配置文件.这也会起作用.

You could also trying removing all your available Provisioning Profiles and let Xcode create new ones for you. This will work too.

这篇关于Xcode 6 App Store 提交失败并显示“您的帐户已经拥有有效的 iOS 分发证书";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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