Iphone real machine development process-Certificate Application

Source: Internet
Author: User

I. Application

1. Go to the ios Developer Center

Http://www.apple.com.cn/developer/ios/index.html

2. Click Log On.

Enter the user name and password (premise: there is already an Apple ID and it takes $99 to develop)

3. After logging on, select the iOS Provisioning Portal on the right side of the page.

4. Go to the Provisioning Portal page and click App IDs on the left to apply for App IDs.

5. Create an App IDs and click the New App ID button on the right.

6. Go to the application page.

Note: The App IDs cannot be deleted after registration, so use the name with caution.

Enter the description of App IDs in the first column, for example, demo for weibo.

Select a team id, for example, 6KWJ5ZBUB8.

In the third column, add a unique representation of the application, such as com. test. demo.

Click the submit button to complete the application.

After the application is completed, the 6KWJ5ZBUB8.com. test. demo ID will appear in the Description item. The following describes the demo for weibo

7. Click the Provisioning item on the Provisioning Portal page to configure the certificate.

Click New Profile under the Development tab to configure the Development certificate. (If you want to publish to the app store, select the Distribution tag)

8. Enter the development certificate configuration page

In the first column, enter the name of the Certificate file, for example, testcert. The name of the generated Certificate file is suffixed with testcert. mobileprovision.

In the second column, select a Certificate Name.

In the third column, select the description of the App IDs, for example, demo for weibo.

In the fourth column, select the ID of the iphone to be developed, for example, "user" iPhone. (After connecting the phone to the computer, you can see the ID)

To use this certificate for all development mobile phones, click the select all button above. You can use this certificate for development on a maximum of 100 mobile phones.

Finally, click the submit button to submit

9. A testcert item will appear under the Development tag. Click download to download the certificate.

Ii. Use

1. Connect the iphone device identified as "user" to your computer

2. Double-click the downloaded xiaodaocert. mobileprovision file.

In xcode's Organizer-Devices, a new testcert certificate is added.

3. Create a HelloWorldTest project in xcode and debug the device: select a real machine, such as the "user" iphone.

4. Change the Bundle identifier column in The HelloWorldTest-Info.plist file to the unique ID entered when applying for the certificate, such as the com. test. demo

5. Click the HelloWorldTest project bar, select the Build Settings tab, select the Code Signing Identity item for Code Signing, select Debug, and select the certificate named testcert in the next item of Any ios sdk.

6. debug and run. You can see helloworld on the real machine.

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.