未找到 iOS 开发证书
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14455009/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
No iOS Development certificates found
提问by Lszt
I got a strange error in my Xcode organizer when I want to update my Provisioning profiles.
当我想更新我的 Provisioning 配置文件时,我的 Xcode 管理器中出现了一个奇怪的错误。
Xcode says this:
Xcode 是这样说的:
"No iOS Development certificate was found. However, there is already a certificate request pending. An Agent or Admin must approve this request before you can download your certificate."
“未找到 iOS 开发证书。但是,已经有一个证书请求待处理。代理或管理员必须先批准此请求,然后才能下载证书。”
I never experienced this before so if someone got an explanation and maybe a solution, it could be nice :).
我以前从未经历过这种情况,所以如果有人得到解释或者解决方案,那就太好了:)。
I check on the provisioning page in the developer zone on the Apple website but I don't find something that could be broken :/
我查看了 Apple 网站上开发人员专区的配置页面,但没有发现可能损坏的内容:/
回答by Rozzadon
The trick that did it for me was to log into developer.apple.com and manuallycreate a dev certificate and then manuallycreate a provisioning profile. I have only one team with only one member (me) so there was no way for me to approve a certificate. When I tried to do it automatically through the Xcode organizer, the error just persisted.
为我做的技巧是登录 developer.apple.com 并手动创建开发证书,然后手动创建配置文件。我只有一个团队,只有一个成员(我),所以我没有办法批准证书。当我尝试通过 Xcode 管理器自动执行此操作时,错误仍然存在。
回答by Joachim
Same error message here. Seems to have multiple sources. Mine was that I have a developer account and joining two teams. In one team i had no Certificates at all. In the past this did not cause any problems. In Xcode Organizer I could choose which team I try to fetch the Provisioning Profiles. And if chose the team for which I had Development Certificate the Provisioning Profiles got downloaded with no error. I think, with the new improved Member Center starting from april 2013 the Organizer fetches automatically all team accounts - without asking for a specific team. As one team had no certificate at all, the process of fetching for all teams stop with this error message.
同样的错误信息在这里。似乎有多个来源。我的是我有一个开发者帐户并加入了两个团队。在一个团队中,我根本没有证书。在过去,这不会造成任何问题。在 Xcode Organizer 中,我可以选择我尝试获取配置文件的团队。如果选择了我拥有开发证书的团队,则可以毫无错误地下载配置文件。我认为,随着新改进的会员中心从 2013 年 4 月开始,组织者会自动获取所有团队帐户 - 无需询问特定团队。由于一个团队根本没有证书,因此所有团队的获取过程都会因此错误消息而停止。
Solution (for this problem) is to add a Development Certificate for ALL teams.
解决方案(针对此问题)是为所有团队添加开发证书。
回答by J. Perkins
Having just gone through this myself, I highlyrecommend you contact Apple Developer Program Supportand have them walk you through the process of resetting your certificates and profiles. It is not a difficult thing to do manually, but there are lots of ways to muck it up (I speak from experience) AND the more people that call the more likely they are to continue improving the process.
我自己刚刚经历了这个,我强烈建议您联系 Apple 开发人员计划支持,让他们引导您完成重置证书和配置文件的过程。手动完成并不是一件困难的事情,但是有很多方法可以解决这个问题(我根据经验说)并且打电话的人越多,他们就越有可能继续改进流程。
That said, the short(-ish) answer is to delete all of your developer and installer certificates from Keychain, then delete all certificates and provisioning profiles from the portal, then create them all again from scratch, and then refresh Xcode to bring them all in.
也就是说,简短的(-ish)答案是从钥匙串中删除所有开发人员和安装人员证书,然后从门户中删除所有证书和配置文件,然后从头开始重新创建它们,然后刷新 Xcode 以将它们全部在。
Oh, and be sure to back it all upwhen you're done!
哦,完成后一定要备份它!
回答by Magnus
My situation was that I got this message when trying to refresh my old certificates (developer + distribution) from Xcode, when they had expired due to the yearly renewal of the developer program.
我的情况是,当我尝试从 Xcode 刷新我的旧证书(开发人员 + 发行版)时收到此消息,因为由于开发人员计划的年度更新而过期。
For what it's worth, I managed to fix the problem by this procedure (roughly):
对于它的价值,我设法通过这个程序(大致)解决了这个问题:
- Delete my old "iOS Team Provisioning Profile" from my device
- Open my keychain and delete the old private keys associated with with the expired certificates.
- Remove the expired certificates from the list in Xcode's organizer (on the portal, they were deleted already).
- Generate new certificates manually on the portal, following the instructions in detail (including downloading the new certificates and double-click to install).
- After trying a new refresh in Xcode's organizer, I still got the same error message, but when checking on the device, a new provisioning profile had now been automatically created and installed, so I could forget about the error message.
- 从我的设备中删除我旧的“iOS 团队配置文件”
- 打开我的钥匙串并删除与过期证书关联的旧私钥。
- 从 Xcode 管理器的列表中删除过期的证书(在门户上,它们已经被删除)。
- 在门户上手动生成新证书,按照详细说明操作(包括下载新证书和双击安装)。
- 在 Xcode 的管理器中尝试新的刷新后,我仍然收到相同的错误消息,但是在检查设备时,现在已经自动创建并安装了一个新的配置文件,因此我可以忘记错误消息。
回答by PanMan
I got the same issue, and solved it by clicking my team under "Teams" in organiser. I only have one team there atm, and didn't expect that to have any impact, but it forced a reload of the profiles or so, and now it works. Hth.
我遇到了同样的问题,并通过在组织者中的“团队”下单击我的团队来解决它。我只有一个团队 atm,并没有想到会产生任何影响,但它强制重新加载配置文件左右,现在它可以工作了。嗯。
回答by RedYeti
Oddly all it took for me was:
奇怪的是,我只需要:
First do an export (just to be safe!)
首先做一个出口(只是为了安全!)
Xcode 5:
代码 5:
- In Xcode -> Preferences -> Accounts
- Click the cog icon at the bottom left -> Export Accounts...
- Enter a filename and password and save
- Ideally, then back it up somewhere that's not your Mac (Dropbox for example) - it is encrypted so that's okay.
- 在 Xcode -> Preferences -> Accounts
- 单击左下角的齿轮图标 -> 导出帐户...
- 输入文件名和密码并保存
- 理想情况下,然后将其备份到 Mac 以外的地方(例如 Dropbox)——它是加密的,所以没关系。
Then for the actual fix:
然后对于实际修复:
Xcode 5:
代码 5:
- In Xcode -> Preferences -> Accounts
- Select the Apple ID in the left column
- Click the "-" (minus) icon at the bottom left and conf
- Click the "+" (plus) icon at the bottom left -> Apple ID... and login
- 在 Xcode -> Preferences -> Accounts
- 在左栏中选择 Apple ID
- 单击左下角的“-”(减号)图标并配置
- 单击左下角的“+”(加号)图标 -> Apple ID... 并登录
Everything was then just fine...
那时一切都很好...
回答by vomako
In Xcode: Menu Xcode --> Preferences --> Accounts --> View Details
在 Xcode 中:菜单 Xcode --> Preferences --> Accounts --> View Details
Then press the refresh button in the lower left corner.
然后按左下角的刷新按钮。
回答by ThomasW
As the message says you need to log into developer.apple.com site and approve the certificate request.
正如消息所说,您需要登录 developer.apple.com 站点并批准证书请求。
If you are not the agent for your account, then you will need to get the agent to approve the request.
如果您不是您帐户的代理,则您需要让代理批准请求。
回答by NSCry
You have developer access in apple developer profile. Please ask admin to approve your certificate request.When admin/agent will approve then automatically that error will be removed.
您在苹果开发者资料中有开发者访问权限。请让管理员批准您的证书申请。当管理员/代理批准后,该错误将自动删除。
回答by georgij
I have the same problem. There is indeed nothing to approve, the status of my certificates is issued, if there would be a need for provenance there would be a button to do so. To be able to continue working I just deleted the "Xcode managed" profile, created a new one, downloaded it (not using Xcode) and throw it into Organizer.
我也有同样的问题。确实没有什么需要批准的,我的证书的状态是颁发的,如果需要出处,会有一个按钮来这样做。为了能够继续工作,我刚刚删除了“Xcode 管理”配置文件,创建了一个新配置文件,下载了它(不使用 Xcode)并将其放入管理器。