Real-computer debugging for iOS apps

Source: Internet
Author: User

Required conditions: 99 dollars of account, without this will not have to look down.

First, log in to Http://developer.apple.com/devcenter/ios/index.action, if you have already purchased the iphone Develop Program (IDP), log in, The page in the upper right corner of the page will look like the following:

Click on the first item: IOS Provisioning Portal, and you will see the following page:

Click to enter certificates, and then see the page shown below:

Click here for download Now, This will download a applewwdrca.cer file, which is a required file for debugging and publishing iOS apps, which is enough to download once, even if you have multiple IDPs, whether it's a debug program or a program, you only need one. If you've already downloaded it, you don't have to download it.

When you're done, double-click the file to install it on your machine. Then open keychain Access, Chinese called Keychain Access, and you'll see the following page:

That means you've already put it in.

Below, we open the menu accessed by keychain, such as:

This will open the page as shown, and fill in the following diagram:

Click Continue:

Click Save:

Then, click Continue, and a certificatesigningrequest.certsigningrequest file will be generated on your desktop.

Then click on the Request Certificate button:

At this point, the following page will appear:

Click Select File, select the Certificatesigningrequest.certsigningrequest file that you just created, and then click Submit.

As shown, this time your certificate is pending status, refresh the page, now in the following state:

At this point, click the Download button, you will get a developer_identity.cer file, double-click the file, and then look at your keychain access, will be the following results:

Remember, you should be able to see the key-shaped things shown, if not, it is impossible to debug.

Next, open the devices, come out as shown on the page:

Click Add Devices in the upper-right corner to see the page shown:

Give your device a name, for example: The Iphone,device ID is the device's fuselage number (40-bit), and the fuselage number can be obtained through the organizer under Xcode's Window menu. When you are finished, click Submit.

The $99 account allows 100 mobile devices to be bundled.

Next, click on app IDs to appear as shown in the page:

Click on the new App ID in the top right corner to appear as shown in the page:

After filling out, click Submit.

Note: In the bundle seed ID column, Apple provides the concept of Team ID, and if you want to share the keychain with other applications, you can select an existing bundle seed ID.

Next, click Provisioning, which binds the above development devices, mobile devices, and apps together to appear as shown in the page:

Click on the new profile in the upper right corner to appear as shown in the page:

After filling out, click Submit.

Then, click on the list of download, then you will get a jxt.mobileprovision file, this file is to be loaded into the phone.

Open the Organizer under Xcode's Window menu and add the Jxt.mobileprovision file to the provisioning.

At this point, turn on your device and you'll find something in the profile----general------and that's your certificate. Then double-click jxt.mobileprovision This file, so that your xcode is activated, this time to view users\ user name \library\mobiledevice\provisioning profiles below, should be one more

The Xxxxxx-xxxxxx-xxxxx-xxxxxx.mobileprovision file.

Next, open your project and open the Plist file and change the bundle identifier into COM.AURORA.JXT.

Then, open the project info and follow the settings:

If the one you want to select is gray, then some of the processes in front of you must be out of the question.

Then, targets info, follow the settings:

Finally, check device Debug, then build, done.

Connect the mobile device, open the organizer under the Xcode's Window menu, if the mobile device is connected, the device will be displayed in device, click on the use device for Develop And you can see the registered provisioning file under the device.

The IPhone SDK version must be the same as the real machine version, and if the version is incompatible, errors such as devices cannot be found.

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.