IPhone real machine debugging and Installation Process

Source: Internet
Author: User

1. For real-machine debugging, you must first register an app ID on the Apple website and buy an iPhone develop program (IDP) Developer license for $99. To create a CSR request for a certificate, follow these steps:

1. in Mac OS, open the application and find the keychain access tool to open the main menu-certificate Assistant) -From request a certificate from a Certificate Authority (request a certificate from a Certificate Authority), enter the IDP registration email, user name customization, and select "store to disk ", select 'Let me specify key pair information '.

 

2. Select the location where the file is saved

 

 

Select the Save path. The certificate request is created successfully.

 

2. log on to the IDP portal and submit the certificate request.
Http://developer.apple.com/iphone/manage/certificates/team/index.action

If the Download button exists, you need to revoke and then re-add and upload the locally generated certificate.

 

After the certificate is uploaded, click approve. The Download button will appear on the page later.

 

Download the two files to the local machine, open the keychain access, select login on the left, and drag and drop the two files to certificates. The certificate will be automatically installed. After the installation, no problem will occur, an error is prompted. After installation, you can add certificate to the keychain.

 

 

3. Now you have registered the device. You can view the udid of your machine through xcode's organizer or iTunes. Join the above page. This page has detailed introduction http://developer.apple.com/iphone/manage/devices/howto.action
Open xcode, click organizer under the window menu, and the page appears (provided that you need to connect to the real machine)

 

4. generate an app ID and create an app. You must specify the app ID and create an appid on the website. This ID can be for one or multiple apps, assume that the existing program testgame can be specified as COM. thinkrace. testgame or com. thinkrace. * created on the site. For COM. thinkrace. * Applicable to All programs. It is also important to note that this ID corresponds to the name in the target info of your program, not the name of your program. Here we should note that: if your app ID is replaced by *, the name in target info cannot be written in the sdk3.0 environment similar to com. thinkrace. * In this case, the * number can still be replaced by any character, but the * number cannot be used, and an error is reported. In sdk3.0
You can use * in the previous environment. In this case, the app ID is replaced by *. It doesn't matter if you don't use * instead. After changing the name, you need to change the iPhone developer in the build item in target info to your provisioning. This is fine (but you have to wait until you generate provisioning, at the end of debugging ). For more information, see

 

 

 

5. Finally, you can generate provisioning profiles. This is the most important thing. All the above is for it. It is very simple. Download will be generated within one minute, and you can download it. If not, refer

Http://developer.apple.com/iphone/manage/provisioningprofiles/howto.action


Click "New Profile" and click "Submit". Download provisioning will be generated and downloaded within one minute.

 

 

Note: drag the downloaded file to the location shown in the figure below to automatically install

 

After the installation is complete, a certificate is generated at the location. If the status is not warned, it indicates that the installation is successful.

 

 

6. Open xcode, open your project, select the location option in the figure, and select the certificate just generated

 

Is the bundle identifier (app id suffix) name corresponding to the app ID added?

 

At this point, complete all, build and go, the program will be automatically passed into the iPhone to run, open the iPhone and you will find your own program.

From: http://blog.csdn.net/jianxuanlu/article/details/7283059

IPhone real machine debugging and Installation Process

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.