Multiple Mac computers use the same apple developer account for development and testing

Source: Internet
Author: User

Today, I installed the company's apple developer account on my Macbook. I used to write code on my machine. But I cannot install or test on a real machine because I don't have a developer account, to test the code, you still need to transfer the code to another machine, which is inconvenient. You just found some methods on the Internet and installed the account. I feel that this problem is still quite common, and it has been a lot of effort and many methods have not been achieved today. So I will summarize it so that more people can install it quickly ~

My situation is like this. The company has a developer account. My personal machine does not have a developer certificate installed, and the programs written cannot be tested on the real machine, therefore, my task today is to install my computer on the basis of the existing developer account and certificate.

I used to log on to the Apple developer website with an account and download the public certificate from the website. However, there were no previous steps on the post that succeeded in the experiment, the private key is exported directly from the installed machine. The specific method is as follows:

First, follow the instructions below:
When you request a certificate from the iPhone provisioning portal, a public/private key pair is generated. the Public Key is wrongly ded in your certificate. the private key is stored in your keychain. with these items, xcode code-signs the applications you build
With it. If you need to use another computer to develop IOS applications, you must transfer these digital-identification items to the other computer. You can do this in the xcode organizer.

To export your digital-identification items to a secure file, follow these steps:

Open the xcode organizer.
In the iPhone development group, select developer profile.
Click Export developer profile.
Name the file, select a location for it, enter a password to secure the file, and click Save.
Now, when you need to develop IOS applications on another computer, import your digital-identification items into it by using Ming these steps:

Copy the developer-profile archive to the second computer.
On the second computer, launch xcode.
Open the organizer.
In the iPhone development group, select developer profile.
Click Import developer profile.
Locate the archive, enter the password used to secure it, and click open.

The key point is not to export the. Cer file directly from the keychain, but to use the export and import operations included in developer profile of iPhone development of xcode organizer.


The above method solves a key problem: private key installation problem. If there is any certificate not installed, you can refer to the following four files.

Http://blog.csdn.net/dotphoenix/article/details/5342388

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.