IOS application distribution and internal testing (2)

Source: Internet
Author: User
Tags key string

IOS application distribution and internal testing (2)

After learning about the concepts in the previous blog, let's perform the actual operations. If you have read the blog "iOS development-remote message push implementation" to implement remote notification push, will be familiar with today's operations. This step requires an apple developer account (99 knives ). The specific implementation is as follows:

(1) Export key string access

.

Select "-->" request certificate from Certificate Authority "from certificate assistant. You can enter the email address and common name of your apple developer account, the CSR file is saved and will be used later;

(2) log on to the Apple developer website and access your developer account,

.

 

.

 

.

 

(3) Select Certificates --> All to create a certificate. For the type, select "App Store and Ad Hoc" in Product.

.

Next, you need to upload the CSR file generated in the access from the key string and click "continue:

.

After completing the steps, click Download to Download a cer file. Double-click the cer file to install it. After the installation is complete, you can see it in the key string access. So far, the certificate has been installed.

(4) Create an App ID

Click Identifiers --> App IDs and enter a Name in the Name field. Enter the App ID of the App you want to distribute in the Bundle ID below. Click Finish in the last step.

.

(5) Add a device

Go to Devices --> All to add a device. You only need to enter the device name (random) and UDID. For how to obtain the UDID, see iOS app distribution and beta testing (1).

.

(6) The last step of configuration is to obtain the Provisioning Profile.

Because I am using an apple developer account, I select Ad Hoc as follows:

.

 

 

Then select the App ID you just registered:

.

 

Select the certificate and device you just created, and then name the configuration file:

.

 

After the configuration is created, download it and double-click it to install the configuration file automatically in Xcode. So far, our configuration on the Apple developer website has ended.

 

(7) In Xcode, an ipa file is generated for the application, because the file can be directly installed on the iPhone, and the dandelion platform only accepts the file. The procedure is as follows:

Do not select a simulator to run the device. You can select a real machine and choose Product --> Archive. The following page is displayed: Click Export on the right:

.

 

(8) Next, select Save for Ad Hoc Deployment:

.

 

.

 

The last one is Next, and a folder is generated. The folder contains a. ipa file, which is the executable file of the project:

.

So far, the configuration in Xcode is complete.

(9) coming to the dandelion Platform

Register and log on, directly upload the generated. ipa file, and fill in the necessary description information.

.

(10) At last, scan the QR code on your mobile phone and open it in Safari to install the application. If a new device needs to install the application, you need to add the new device UDID and configuration file on the Apple developer website, and then re-execute the following steps. Of course, generally, you can add all the device udids of the group and company to the Group in advance. The entire process is relatively simple.

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.