无法在 XCode 6 中签署应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25873498/
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
Cannot sign applications in XCode 6
提问by RB.
I have just upgraded from XCode 5.1 to XCode 6.0 GM and can no longer sign my applications for ad-hoc deployment. I perform the following steps:
我刚刚从 XCode 5.1 升级到 XCode 6.0 GM,无法再签署我的应用程序以进行临时部署。我执行以下步骤:
- I open Window -> Organizer and select "Archives"
- I select an archive (either one I have built from XCode 5.1, or one I have built from XCode 6).
- I click "Export".
- I click "Save for Ad Hoc Deployment" and click "Next"
- I select my Development Team and click "Choose"
- I receive the below error.
- 我打开 Window -> Organizer 并选择“Archives”
- 我选择了一个档案(一个是我从 XCode 5.1 构建的,或者是我从 XCode 6 构建的)。
- 我点击“导出”。
- 我单击“保存用于临时部署”,然后单击“下一步”
- 我选择我的开发团队并点击“选择”
- 我收到以下错误。
Previously this worked (I signed an application last night, and upgraded this morning), so any ideas would be gratefully received.
以前这行得通(我昨晚签署了一份申请,今天早上升级了),所以任何想法都将不胜感激。
ERROR TEXT
错误文本
You are not allowed to perform this operation. Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support.
您无权执行此操作。请咨询您的团队管理员之一,或者,如果您需要进一步的帮助,请联系 Apple 开发者计划支持。
Account Page
账户页面
Here is the info from my XCode account page.
这是来自我的 XCode 帐户页面的信息。
回答by Apollo SOFTWARE
You need to reimport your provision profile and signing identity. It should be a .developerprofile file. It should be under accounts under XCode preferences. You can see all your developer/member info. I'm assuming you're an agent?
您需要重新导入您的配置文件和签名身份。它应该是一个 .developerprofile 文件。它应该在 XCode 首选项下的帐户下。你可以看到你所有的开发者/会员信息。我猜你是代理?
回答by RB.
In the end I installed XCode 5.1 and 6 side-by-side. I could then use 5.1 to sign archives created from 6. It's a bit of a faff, but I'm going to assume that it's because 6 is still beta...
最后我并排安装了 XCode 5.1 和 6。然后我可以使用 5.1 来签署从 6 创建的档案。这有点废话,但我会假设这是因为 6 仍然是测试版......
回答by Rishabh
Got same issue with Xcode 6.0.1
Xcode 6.0.1 有同样的问题
Creating a new Provisioning profile (Development & Distribution) resolved the issue for me.
创建一个新的配置文件(开发和分发)为我解决了这个问题。