简体   繁体   English

Apple Enterprise Developer发行证书显示在钥匙串中,而不出现在Xcode Organizer中

[英]Apple Enterprise Developer Distribution Certificate appears in keychain, not in Xcode Organizer

I'm a contract developer, and have an app to be distributed via the client's Enterprise account. 我是合同开发人员,并且有一个要通过客户的Enterprise帐户分发的应用程序。 I've worked with other clients on Enterprise accounts, but for some reason, the "iPhone Distribution" certificate that I've added to my keychain for this client does not appear in Xcode Organizer. 我曾与其他客户一起使用Enterprise帐户,但是由于某些原因,我为此客户端添加到我的钥匙串中的“ iPhone Distribution”证书没有出现在Xcode Organizer中。

When I import a mobileprovision for the app, Xcode complains there's no valid key pair. 当我为该应用程序导入移动设置时,Xcode抱怨没有有效的密钥对。

The client has added me to their account; 客户已将我添加到他们的帐户; can only the developer who created the Enterprise Distribution certificate import it to a keychain? 只有创建企业分发证书的开发人员才能将其导入到钥匙串中吗? If I create a new distribution cert (not profile), does that invalidate the existing cert (used by other apps I have not worked on?) 如果我创建新的发行证书(不是配置文件),是否会使现有证书无效(供我尚未使用的其他应用程序使用?)

You will need the person who created the certificate to export it from their keychain. 您将需要创建证书的人从其钥匙串中导出证书。 The certificate you download from the provisioning portal is a public key and does not contain the private key. 您从供应门户下载的证书是公钥,不包含私钥。

From Apple Tech Note about Code Signing 来自Apple Tech关于代码签名的说明

Note: In the case of missing Private Keys for your certificates, Automatic Device Provisioning can restore your certificate to the keychain, but not the missing private keys. 注意:如果缺少证书的私钥,自动设备配置可以将证书还原到钥匙串,但不能还原到私钥。

Transferring Your Identities Once you have a healthy working code signing configuration set up it is recommended that you follow the steps in section Transfer Your Developer Profile to Another Computer of the Xcode 4 User Guide to create a backup of them. 传输身份一旦建立了良好的工作代码签名配置,建议您按照Xcode 4用户指南中的“将开发人员配置文件传输到另一台计算机”部分中的步骤进行操作,以为其创建备份。 The backup can be used to restore your working code signing configuration from hardware failure, or to enable code signing on additional Macs, partitions, or OS X user accounts of your choice. 备份可用于从硬件故障中恢复工作代码签名配置,或者在您选择的其他Mac,分区或OS X用户帐户上启用代码签名。 The backup (.developerprofile file) once created contains all of the following items: 备份(.developerprofile文件)一旦创建,将包含以下所有项目:

all iPhone Developer certificates in your keychain all iPhone Distribution certificates in your keychain all Provisioning Profiles in the Xcode Organizer > Devices tab > Provisioning Profiles section under "Library" Note: While creating the backup of your identities you will be asked to enter a brand new password. 钥匙串中的所有iPhone Developer证书钥匙串中的所有iPhone发行证书Xcode Organizer>“设备”选项卡>“配置文件”下的“ Provisioning Profiles”部分中的所有“ Provisioning Profiles”注意:在创建身份备份时,系统将要求您输入全新的身份密码。 Be sure to remember as you'll be asked to enter that password later to use the backup for its intended purposes. 请记住,因为稍后将要求您输入该密码,以将备份用于其预期用途。

Tech Note TN2250 技术说明TN2250

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

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