多台机器共享一个开发者证书



Due to Apple only allowing one account to be Team Agent on its enterprise account and my team not having a build server I was given the task of attempting to discover how to “share” this certificate across multiple machines.

These instructions are to be performed on the machine which currently has the distribution profile installed:

Open “Keychain Access”
In “Category” panel, select “Certificates”
Expand “iPhone Distribution: “
Highlight both “iPhone Distribution: team agent name” certificate and “team agent name” private key
Right click and select “Export 2 items”
Select location to save p12 file
Enter password – this will be used to install it on the other machine
Save and transfer p12 file to second machine
Those instructions are to be performed on the second machine:

Double click on p12 file. Keychain access should open
Enter password for p12 file. You should now have a new private key in the logon section in Keychain access. N.B this private will have the same name as it did one the first name
Log into “Team Agent” account on http://developer.apple.com/
Select “iOS Provisioning Profile” link
Select Certificates->Development tab, download and install certificate for Team Agent
Double click to install to keychain
Select Certificates->Development tab, download and install WWDR intermediate certificate
Double click to install to keychain
Select Provisioning->Distribution tab and download provisioning profile N.B it should be a .mobileprovision file, ifs its .cer you are in the Distribution tab of the Certificates section
Drag onto Xcode icon to install
Congratulations you should now have your distribution file on two machines. Please post any questions and I’ll attempt to answer them as best as I can.

If you want to know how to create an .ipa file please see my previous post

Possible roadblocks:

When double clicking on any of the any of the above files: “The system roots keychain cannot be modified” – You’ll need to manually add the files to the appropriate Keychain by dragging them onto it so “System” for AppleWWDRCA.cer and “login” for development certificate.

转载于:https://my.oschina.net/zhangzhihao/blog/102201

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值