In the IOS development environment, what are certificates and authorization files ?, Ios authorization
I. Member Introduction
1. Certification (certificate)
Certificates are used to authenticate computer development qualifications. Each developer account has one set, which can be divided into two types:
1) Developer Certification (Development Certificate)
Install on a computer and provide permissions: developers can perform real-machine testing through devices.
Copies can be generated for installation on multiple computers;
2) Distribution Certification (publish a Certificate)
Install iOS programs on your computer and grant you the permission to publish iOS programs: developers can create beta and release programs.
A copy cannot be generated and can only be used by the computer with the certificate configured. (The copy creation is described in the Keychain below)
2. Provisioning Profile (authorization file)
An authorization file is an authorization file for devices such as iPod Touch, iPad, and iPhone. The file records the device's UDID and the App Id of the program, even if the authorized device can install or debug the program corresponding to the App Id recorded in the authorization file of Bundle identifier.
When creating the authorization file, the developer account selects the App Id (add the App Id under the developer account, single choice) and UDID (add up to 100 Devices under the developer account, select multiple ).
There are two types of authorization files, corresponding to the use of the corresponding certificate:
1) Developer Provisioning Profile (Development authorization file)
To use it on a computer with a development certificate or copy, the developer selects the authorization file to install the program to the device with the authorization file record through the computer to perform a real machine test.
Note: Make sure that the computer has the permission to debug the real machine, that is, the development certificate or copy is installed. In the development tool, the Bundle identifier of the program must be consistent with the App Id of the selected authorization file; the device's UDID for connection debugging is recorded in the selected authorization file.
2) Distribution Provisioning Profile (publish authorization file)
Create a beta and release version program on the computer with the certificate publishing device (that is, the computer with the certificate configuration, only one.
The release version is the program file released to the App Store. when creating the authorization file for the developer account, select the store option and the App Id, without the need to select the UDID;
The test version is the program file that can be synchronized to the device by the tester before release. when creating the authorization file for the developer account, select AdHoc and select App Id and UDID; only the device corresponding to the selected UDID can install the program created using the authorization file.
3. Keychain (Development key)
If the certificate is successfully installed, the Keychain will be generated under the certificate. The certificate copy mentioned above is exported by the computer where the certificate is configured (that is. p12 file) install it on another machine, so that other machines can obtain the certificate permissions. Developer Certification can make a copy of Keychain and distribute it to other computers for installation so that it can perform real machine testing.
Note: Distribution Certification is only available on the computer where the certificate is configured. Therefore, even if the exported Keychain is installed on another computer, it is impossible for other computers to have the certificate permission.