简体   繁体   English

无法从xcode创建新的配置文件

[英]Cannot create new provisioning profile from xcode

I was trying to create a new provisioning profile for beta test distribution on an app I'm working on, and I'm running into some difficulties. 我试图为正在使用的应用程序上的Beta测试分发创建新的配置文件,但遇到了一些困难。 I believe I have valid certificates available, since I can get apps up and running when they're attached to the development machine. 我相信我有可用的有效证书,因为我可以在将应用程序连接到开发计算机后使其启动并运行。 I also have my private key connected to the developer certificate. 我还将我的私钥连接到开发人员证书。

The problem is that I cannot create a new provisioning profile from within Xcode. 问题是我无法在Xcode中创建新的配置文件。 In the organizer, after hitting create profile, no certificates are displayed in the menu. 在组织者中,单击创建概要文件后,菜单中没有显示证书。 Even if I fill in all the details that I can, I am not allowed to create the profile since there is no certificate to attach to it. 即使我填写了所有可能的详细信息,也不允许创建配置文件,因为没有证书要附加到该配置文件。

In the Developer Profile tab, I do have both developer and distribution identities. 在“开发人员资料”标签中,我确实拥有开发人员和发行身份。 I can also create the provisioning profile from the provisioning portal, which is then picked up by Xcode and automatically downloaded. 我还可以从配置门户网站创建配置文件,然后由Xcode提取并自动下载。 It would just be nice to be able to complete this task from within Xcode. 能够从Xcode中完成此任务将是一个很好的选择。

Thanks! 谢谢!

Check your keychain for invalid certificates and remove them. 检查您的钥匙串以获取无效证书,然后将其删除。 Re-download/re-install Apple's WWDR intermediate certificate (available on the provisioning page). 重新下载/重新安装Apple的WWDR中间证书(在配置页面上可用)。

Turns out, installing Xcode 4.3 corrected it. 原来,安装Xcode 4.3可以更正它。 I have no idea what was the cause, but the upgrade fixed the issues so I'm not particularly concerned now. 我不知道是什么原因,但是升级解决了问题,因此我现在不再特别担心。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM