iOS programs are published as IPA files downloaded and installed via the web. Install App via Ota__web

Source: Internet
Author: User
Tags ssl certificate

Turn from:

http://blog.csdn.net/totogogo/article/details/7391531


IOS 7.1 Official release, the previous use of the Itms-services://url method of online installation of IPA files is invalid, click the error is: "Unable to install the application, because the xxx.com certificate is invalid" (Error interface see below figure), this should how to solve it.

In fact, iOS 7.1 modifies the Access protocol for the Manifest.plist file, which can be accessed via the HTTP protocol before iOS 7.1 and must be accessed using HTTPS protocol.

For example, the previous link code is:

Itms-services://?action=download-manifest&url=http://example.com/manifest.plist

After iOS 7.1, it needs to be modified to:

Itms-services://?action=download-manifest&url=https://example.com/manifest.plist

An SSL certificate is required to enable the ability to install IPA files online.


The specific method can refer to http://blog.csdn.net/zhaoxy_thu/article/details/21133399


here are the steps to put the app on the Web site so that others can download the installation over the Air (OTA).


Prerequisite: The device to install the app needs to be included in your provisioning profile.

Ref LINK:HTTPS://HELP.APPLE.COM/IOSDEPLOYMENT-APPS/?LANG=EN-US#APP43AD871E


Step 1 in your project, select "iOS Device" in the active scheme ( if the ipad simulator or IPhone Simulator is selected, then M ENU "Product > Archive" is grayed out)


Step 2 Select Menu "Product > Archive" To create a Archive for your project (it is recommended this build your Proje CT again before this action)

Step 3 This should automatically pop up organizer window (you can then open it via menu "window > Organizer") and show you just created the archive item in the Archive list. Highlight the archive item, and then click "Distribute ..." button

Step 4 Select option 'Save for Enterprise or Ad-hoc deployment', click 'Next'

Step 5 Set "Code signing Identity" as default value, the My default value is "Tomson Xu" ( This should be you at Apple de Veloper Site-created certificate name), click "Next"

Step 6 Sets "saveas" as your project name, setting the location where the build files arelocated, and checking thesave for Enterprise Distribution".

Step 7 Sets the "application URL" to the URL (E.g.http://xxx.xxx.xxx.xxx/cityucap.ipa) that will be placed in the Web site for the upcoming IPA, setting "Title to any text (note that it is not installed app display name), click the "Save" button. It will then create an IPA file and a plist file with the same name as IPA file (assuming Cityucap.ipa and cityucap.plist)

Step 8 copies the IPA and plist file generated by step 7 into your Web site ( Note: Its URL will be the same as the "Application URL" set by step 7 ), and then create an HTML file as follow.

[HTML] view plain copy <a href= "itms-services://?action=download-manifest&url=http:// Xxx.xxx.xxx.xxx/cityucap.plist ">install app</a>
Step 9 You need to add 2 MIME types to your Web server, otherwise there may be errors during installation. The following example adds a MIME type to IIS

1. Open IIS Manager, select root node on the left panel, and then on the right panel double click "MIME Types"

2. Right click anywhere, select "add ...", add the following 2 mime Type

File name extension: . IPA

MIME Type: application/octet-stream


File name extension: . plist

MIME Type: text/xml


3. Restart your Web server


Step 10. Access the HTML file created by step 8 in your iphone Web browser and click link to install app!

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.