Internal Distribution of iOS apps through webpages

Source: Internet
Author: User

This section describes how to distribute iOS applications, including In-House enterprise applications and ad-hoc test applications, on a webpage.

Native XCode Application

1. Archive Compilation

Use XCode to open the project to be distributed and select"Product" -> "Build for" -> "Archiving"Such:

After the compilation is complete, the XCode project archive will be generated, and then the distribution information will be set using Organizer.

2. Use Organizer to set distribution information

Open Orangizer and select the Archives tab to view the existing XCode project archive. Select the project to be distributed and clickDistribute...As shown in:

Next, go back to the distribution wizard. In the first step, select the distribution method.Save for Enterprise or Ad-Hoc Development, As shown in:

ClickNextClick. In the second step, select the code signature andEnterpriseOrAd-HocSignature, as shown in:

ClickNextButton, step 3 Fill in the distribution information, select the application storage location and name, and selectSave for Enterprise DistributionInput the distribution information, and save it. Two files are generated. One is the ipa file, which is the iOS program, and the other is the plist file, contains the description of the ipa file.

3. Deploy to the internal Web Server

Copy the last generated ipa and plist file to the internal Web server and add a link similar to this on the webpage:

<A href = "itms-services ://? Action = download-manifest & url = http://url-to-your-app.plist "> install mobile office iOS </a>

The Mime types of. plist and. ipa may need to be added to the Web server. Their Mime types are:

  • .plist : text/xml;
  • .ipa : application/octet-stream

4. Download and install iOS devices

Use an iOS device to access the webpage and click the link to install it directly. If the device is not jailbroken, you must confirm that the signature license contains the device's UDID. Otherwise, the device cannot be installed.

MonoTouch Application

For MonoTouch applications, upgrade MonoDevelop to the latest version 3.1.1.BuildAddedAchiveOption, selectArciveAfter the menu is compiled, the corresponding project is displayed under the Archives tab of XCode Organizer, and the subsequent steps are the same as those above.

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.