Release of iOS app full Guide (2)-How to Use IOS developer authorization and how to apply for a certificate

Source: Internet
Author: User

In the previous article, I introduced how to apply to become a valid IOS developer. This article details how to use the authorization file (. mobileprovision) and signature certificate file (. CER)

After the payment is successful, you will receive a confirmation email from Apple developer suport, as shown in.

There is a login button in the email. Click it to go to the Apple developer member center. Click the IOS provisioning portal in the figure to enter the developer authorization setting system.

On the settings page, click the assistant at the bottom of the page to run the wizard.

You can also set it directly from the left navigation bar. In this article, I will mainly introduce how to set developer authorization and certificates through navigation. However, before that, I would like to briefly introduce some basic knowledge about Apple developer authorization.

Apple imposes strict restrictions on its devices. Any application must be downloaded and installed through the iTunes store, or downloaded directly from the device, you can either download it from your computer through iTunes and synchronize it to your device. Therefore, devices that have not been cracked cannot directly install the IPA file. However, Apple also provides a mechanism for developers to install IPA files on specified devices for testing and development. The core of this mechanism is developer authorization. The application process I introduced earlier is to apply for a developer license to install and run the IPA file on the device.

Developer authorization is a complete and reasonable process. It can be divided into the following phases:

1. Authorize the device to bind the developer authorization with the specified device so that these devices can install the IPA released by the developer freely.
2. Generate the authorization file mobileprovision, which will be packaged into IPA to bind the device to the authorized Development Account.
3. Generate the Certificate file. p12, which will also be packaged into IPA to implement the signature and identity verification of the application publisher.

In addition, the developer authorization system provides two different channels: development and distribution. During development and testing, you need to bind the device to install IPA on the device separately. During release, you do not need to bind the device.Therefore, different. mobileprovision and. Cer files must be used for development and release.

Next we will go back to the developer authorization system. I will first introduce how to use authorization and certificates in the development phase.
----------
Authorized device (devices)
----------
Click device in the left-side Navigation Pane to go to the authorized device page. Click Add device in the upper-right corner to add a device.

When adding a device, you can specify the device name and the device UID (unique identifier ). Each Apple device has a unique identifier. The method to obtain this identifier is simple. Connect your device to your computer and find your device information (such as) in iTunes ), click the location in the red box to display the device uid. You can directly copy the UID to the clipboard using Ctrl + C (Apple command + C.

----------
Add app
ID (APP IDs)

----------
Click the app IDs button in the left navigation bar to go to the Application ID configuration page. You can click the new app ID button on the right of the page to add a new application. This ID corresponds to the application to be developed and tested. For example, add a single application name (special characters are not supported) to the description, and then enter a string containing domain format in the bottom bundle seed ID (such as COM. jamesli. appname ). Bundle seed ID is a collection of developer and application information in the format of (COM. [developer]. [Application]), which can be specified as a single application or all applications. For a single application, we recommend that you specify the description and bundle.
The last entry of the seed ID is the same (for example, angrypig and COM. jamesli. angrypig). For all applications, you can use the bundle seed ID: COM. jamesli .*


----------
Apply for a developer Certificate
----------
The process for applying for a certificate is different on Mac and win. I will only introduce Mac: (not provided in Windows)

Mac
Manually open keychain access in Applications> utilities. From the top menu bar, choose keychain access> certificate assistant> request a certificate from Certificate Authority. in the displayed window, enter your information and select Save to disk. A certificatesigningrequest file will be saved on the desktop. (For example)

Mac
Click the downloaded. Cer file. The file is automatically opened in keychain access. You can right-click the key to export a p12 file, as shown in:

-----------
Use developer authorization
-----------

As we mentioned above, to publish an IPA that can be separately installed on a specified device, you must use the developer authorization file. mobileprovision. This file can be obtained from the developer authorization system.
Click provisioning in the left-side navigation bar to go to the authorization page. Click the New Profile button on the right to create a new authorization file.

On the create page, enter the name, select the created certificate, and specify the device (you can select multiple). After submission, an authorized account can be generated. You can also download a mobileprovision file to your local device.

Up to now, we have two important files for releasing the iOS app in Flash:. mobileprovision and. p12. Return to flash and fill in the two files (for example) in the deployment tab of the release settings ). In this way, you can develop IOS projects on the specified device!

I will continue to introduce how to create and upload your application in iTunes connection.

Http://tomcat.lockecity.com/blog/index.php? P = 437

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.