iOS test, remote push certificate

Source: Internet
Author: User

Program Upload:
Preparatory work
Certificate creation Process

1: Certificate: The certificate is used to sign our application, only the signed application can guarantee that his source is trustworthy, and the code is complete and unmodified.
The process of creating a certificate:

Login to Developer Center

















Click Certificates (certificate) to enter the following interface

















Click Certificates (certificate) to enter





















See the left column has a Certificates (certificate), we found that there are developerment and production two types, where the developerment type of certificate for development use (such as our real machine test), Production type of certificate is used to publish the application, we create a test certificate today, first we see a button in the upper right corner, click to enter:

Select iOS APP development (for real-computer testing), the following certificate for remote push-"Click the Continue button to enter (note that only the certificate used for the remote push service needs to specify the appropriate APP ID):
If it is for the push service we want to choose the app ID if the simple certificate we do not have to choose the appropriate app ID but directly into the following interface (note that the interface just teaches us how to generate a CSR file can be translated in English)
















Click Continue to enter the following interface, which requires us to upload a CSR (containing the current computer's basic information) file

Now we want to generate the corresponding CSR file, first open our keychain (together with the terminal)-"Keychain Access-" certificate assistant-"request a certificate from the certification authority,
Click Request a certificate from a certification authority to enter:






Enter an email address, enter a common name, select Save to disk, and click Continue to enter:
Click here to save the CSR file generated successfully and saved to the desktop, the following is the return to the certificate interface to upload our CSR file, click on the certificate interface choose file such as:
Click to select such as:

Click general so our certificate is created and then click Download to download the certificate, Note The downloaded certificate suffix is. cer, double-click the certificate, the certificate is automatically added to the keychain, the certificate can only be used by the computer that created the certificate, and the other computer must export a. P12 file from the certificate, which is the same as the certificate, except that the file can be used by any computer, the P12 file is exported as follows:
Enter the Keychain

Select the appropriate certificate right-click to select Export ...

















Save for modifying the name of the stored certificate, click Save

Set up our store password (direct enter is no password) so our P12 file is created successfully (others can use the corresponding P12 file).


APP ID Creation Process

Select the appropriate app ID (unique identifier of the application), the equivalent of our ***,ios system differentiation application is divided into two by our app Id,app ID, a wildcard *, a non-wildcard, without a wildcard app ID can only uniquely identify an application, With wildcards, you can identify multiple applications, and for our real-computer tests we want to use an app ID that contains wildcards, upload and remote push, without a wildcard character. App ID Creation We click on the app IDs option in the left sidebar:
Click to add the interface: first in the name of our app ID to a name, in the future to look for a lot of app ID, and then we want to create the corresponding app ID shape such as (com.xxx.* with wildcard characters, com.xxx. XXX does not contain wildcards), the app ID created by the Wildcard app ID is a wildcard (app ID for the real Machine test), and the app ID created by the Explicit app ID is not a wildcard (product release certificate and Yuncheng push certificate). Then we have to select the appropriate service, the real machine testing the default service is sufficient, remote push to the default service based on the selection of the push notifications (second to last)













































Click Continue to complete the creation


Add Devices (device)

Only the devices that are added can be tested at development time, and the test device can only add up to 100 units, meaning that each account can be tested for up to 100 different devices. Add device We click the Devices option in the left column to enter the interface:
Click the number button in the upper right corner to add the device:






















In this interface we need to give our own device a name in the future to find our own devices in many devices, and we need to enter the Udid of our device (the unique identity of the device), how to get our Udid it? First we need to talk about our real machine connected to the computer-"Open our itunes-" Select the logo of a mobile phone in the upper left corner



Click the serial number and the serial number will automatically change to udid such as:















Right-click on the copy in Udid and copy the Udid of our device.
Get Udid, speak our udid paste to our Registration device interface, click Continue:






















Click on register-to click Done so our device is registered successfully.







Descriptive Document application process

Click on the provisioning Profiles (descriptive file) in the left sidebar, which is divided into development and product launches as a certificate, and is no longer detailed. We do a real machine test so the specific process of generating a descriptive file for the corresponding development class is as follows:

Click the button to enter and select our iOS app development (Beta), if it is released we want to select the first item below (APP Store):


















Click Continue to enter the following screen and select our App ID (unique identifier of the app):

Click Continue to enter the following interface, select our certificate, if the certificate too many do not know which is, we will directly tick select all, select the certificate, the system will help us choose:
Click Continue to enter the following page, we choose to test the device, generally we will check all, then all the equipment can use the descriptive file, tick complete Click Continue this descriptive text is generated successfully, Next is to download our descriptive file double click to complete.





These are the things we prepare for the real machine or the program upload or remote push-certificate, APP id,device,provisioning Profiles (descriptive file)

Convert P12 to .... PEM
OpenSSL pkcs12-in certificatename.p12-out certificatename.pem-nodes

Computer terminal after CD DeskTop





iOS test, remote push certificate

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.