ios 两个mac。一份 iPhone 开发者许可证。可能的?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1861360/
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
Two macs. One iPhone Developer License. Possible?
提问by simonwHymanson
I work for a company that is interested in building iPhone apps. However, we are not clear on one issue:
我在一家对构建 iPhone 应用程序感兴趣的公司工作。但是,我们在一个问题上并不清楚:
Does the iPhone developer certificate work on more than one computer at a time?
iPhone 开发者证书一次在多台电脑上有效吗?
回答by William
This information was posted on http://www.iphonedev.org/node/3and was not written by me.
此信息发布在http://www.iphonedev.org/node/3 上,并不是我写的。
Step 1:To export your private key and certificate for safe-keeping and for enabling development on multiple systems, open up the Keychain Access Application and select the ‘Keys' category.
第 1 步:要导出您的私钥和证书以便安全保存并支持在多个系统上进行开发,请打开钥匙串访问应用程序并选择“密钥”类别。
Step 2:Control-Click on the private key associated with your iPhone Development Certificate and click ‘Export Items' in the menu. The private key is identified by the iPhone Developer: public certificate that is paired with it.
第 2 步:按住 Control 单击与您的 iPhone 开发证书关联的私钥,然后单击菜单中的“导出项目”。私钥由 iPhone 开发人员识别:与其配对的公共证书。
Step 3:Save your key in the Personal Information Exchange (.p12) file format.
步骤 3:以个人信息交换 (.p12) 文件格式保存您的密钥。
Step 4:You will be prompted to create a password which is used when you attempt to import this key on another computer.
第 4 步:系统将提示您创建一个密码,当您尝试在另一台计算机上导入此密钥时使用该密码。
Step 5:You can now transfer this .p12 file between systems. Double-click on the .p12 to install it on a system. You will be prompted for the password you entered in Step 4.
第 5 步:您现在可以在系统之间传输此 .p12 文件。双击 .p12 将其安装到系统上。系统将提示您输入在步骤 4 中输入的密码。
回答by J. Perkins
The process has gotten simpler since the original response; see Exporting and Importing Signing Certificates(Mac Developer Library).
自从最初的回应以来,这个过程变得更简单了;请参阅导出和导入签名证书(Mac 开发人员库)。
In summary: In Xcode Organizer, go to Devices > Teams and choose Export. On the second machine, Devices > Teams > Import.
总结:在 Xcode Organizer 中,转到“设备”>“团队”并选择“导出”。在第二台机器上,设备 > 团队 > 导入。
回答by lyonanderson
Yes, you can. You'll need to download your certificate onto each of the machines andhave the private key you generated for that certificate on each machine. In the developer portal there are instructions for exporting the key (in the certificate section how to). You'll also need the provisioning profiles, again these can be downloaded from the portal.
是的你可以。您需要将证书下载到每台机器上,并在每台机器上为该证书生成私钥。在开发人员门户中有导出密钥的说明(在证书部分如何)。您还需要配置文件,同样可以从门户下载这些文件。
回答by philsquared
In short, yes. The certificate is tied to the developer, not the machine.
简而言之,是的。该证书与开发人员相关,而不是与机器相关。
It's also possible to share a single certificate between multiple developers, although there it's not so clear cut what you can and can't do (i.e., that's another question :-) ).
也可以在多个开发人员之间共享一个证书,尽管您可以做什么和不能做什么并不是很清楚(即,这是另一个问题:-))。