ArticleDirectory
- Do not use chrome in this process
Apple imposes strict restrictions on its devices and any applicationProgramThey must be downloaded and installed through the iTunes store, either directly from the device, or from the computer through iTunes, and then synchronized to the 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:
- The authorized device binds the developer authorization with the specified device so that these devices can freely install the IPA released by the developer.
- Generate the authorization file mobileprovision, Which is packaged into IPA to bind the device to the authorized Development Account.
- Generate the Certificate file. p12, which will also be packaged into IPA to implement the signature and authentication 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 log on to the developer authorization system. I will first introduce how to use authorization and certificates in the development phase.
Click device in the left-side Navigation Pane to go to the device authorization 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
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 enter the same description as the last entry of bundle seed ID (such as angrypigs and COM. jamesli. for all applications, you can use this bundle seed ID: COM. jamesli.
Apply for a developer Certificate
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)
Do not use chrome in this process
Return to the certificate page of the developer authorization system, click request certificate on the right side of the page to apply for a certificate, and then click the button at the bottom of the page to upload the generated certsigningrequest file. This completes the certificate application process. After the application is successful, a certificate is displayed on the certificate page. After refreshing the page several times, the certificate status changes to issued. Click the Download button to download a CER file.
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. Cer.