iOS: How to run your own software on a real iphone

Source: Internet
Author: User
Tags continue tag name valid

To run your own software on a real iphone, you first need to be a member of the Apple developer program. Second, you need to set up the program ID and authentication book, after which you will be able to run your program on your designated iphone. Below I will show you how to set up your program ID and authentication book to let your program run on the iphone.

First you need to log in to your Developer Member Center (Developer.apple.com) and then enter iOS Dev Center (iOS Developer Centre). Locate the iOS Provisioning Portal list item on the right side of the page and click Enter. Here is where you set up the admin certification book, and on the left you will see a list of columns: Home,certificates,devices,app ids,provisioning and distribution. Each of these list items corresponds to a different set of features, and I will analyze and introduce them in turn.

1.Home:

is the homepage of the iOS provisioning portal, nothing to say.

2.Certificates:

Here is the place to upload the management certificate, if you are the first time to develop an iphone program, then you may not have a valid certificate, you need to open the "application-utility-Keychain Access", where you can create your certification book. Click the Keychain Access drop-down menu and select Certificate Assistant-ask certificate from Certification authority menu item. A window called Certificate Assistant appears asking you to fill in your e-mail address and common name, then select the "Save to disk" option and tick before "Let me specify key pair information." Click on the "Continue" button after the system will require you to fill out the name of the certificate and the location of the storage certificate, the default storage can be. Next, the system asks you to select "Key Size" and "algorithm", also by default click "Continue" can be. The certificate was created here, but the certificate was not available because it was not certified by Apple. Now return to the Certificates Settings page, the page prompts you to upload the certification book.

Choose just to create a good certification book upload. Normally, after a few seconds, the certificate will be processed by Apple and a valid certificate will be displayed on the Certificates page. Click "Download" to download the certificate to the local disk and run the certificate. The application for this certification has been successfully completed.

3.Devices:

Here you can authorize your real machine to run the device, which means that only the iphone registered here can run your program. (Note: Each year you can only authorize 100 iphone devices, a limited number, please use caution.) Click the "Add Devices" button in the upper-right corner of this page to enter the Add Licensing device page. Fill in the name of your favorite device in the Devive Name text box and fill in the Devive ID text box with your iphone ID, which you can find in Xcode. First, connect the iphone device, open Xcode, and select the "Window─organizer" menu item in the top menu. Opens a window named organizer. You will find your iphone device name in the Devices list on the left side of the window. Click on it and you will see your iphone device information on the left side of the window, where the identifier string is your iphone ID number, copy it to the Devive ID text box, and click the "+" button at the back. So your authorization for the iphone device is done.

4.APP IDs:

Here you can create a new application ID, click on the "New app ID" button in the upper-right corner of the page to enter the app ID creation page and fill in the Description text box with your favorite application ID name in the bundle Seed ID (App ID Prefix) Select the Generate new option, and finally set your application tag in bundle Identifier (App ID Suffix), which is a very interesting format, like an Upside-down Web site domain name. This tag is so powerful that only applications that contain this tag can run on your designated iphone. (You need to fill out this tag name in the Info.plist information text of the project resources file, and the compiler will allow the project to be compiled and run on the iphone.) )

4.Provisioning

This is also a key setup step that will integrate all of your setup information to generate a provisioning profile. Click on the "New profile" button at the top right of this page to enter profile creation page. In the Profile Name text box, name the new profiles, and select the certificate, Application ID, and iphone device information that you have created successfully in the following pages. After setting up click "Submit" button, a new provisioning profile file will be displayed on the provisioning page. Click "Download" To download the provisioning profile file to the local disk, and he will automatically load all kinds of information into the provisioning Profiles list in the Xcode─organizer window. At this point, when you look at the iphone device information in the Organizer window, you will see that the provisioning profile appears in the Provisioning list box below, which proves your setup was successful. And at the moment you can compile and run the specified program on your authorized iphone.

Related Article

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.