Ios ota release

Source: Internet
Author: User

Installing an app through OTA is a cool feature, especially when it is tested by a friend. I always wanted to sort out the files and found that many people have sorted them out.
For example, IOS: Install app via OTA uses xcode4.3.
This is also an English article: distributing an iPhone app (. IPA) over the air with xcode 4. Although it is called xcode4. it should be version 4.2 or earlier. Because the packaging method has changed after 4.3.

Prerequisites: devices that can install the app must be included in your provisioning profile.

Environment: IOS 5.0 + xcode 4.3
Ref link: https://help.apple.com/iosdeployment-apps? Lang = en-US # app43ad871e

Step 1 select "iOS device" in the active scheme in your project (if you select iPad simulator or iPhone simulator, the menu "product> Archive" is grayed out)

Step 2 Select menu "product> archive" to create an archive for your project (it is recommended that build your project again before this action)
Step 3: The organizer window will pop up automatically (you can open it through menu "Window> organizer") and display the created 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, my default value is "Tomson Xu" (this should be the Certificate Name you created on the Apple developer site), click "next"
Step 6 set "Save as" to your project name, set the location where to store the generated file, and check "Save for enterprise distribution ".
Step 7 set "application URL" to the URL (E. g. http://xxx.xxx.xxx.xxx/CityUCAP.ipa), set "title" to any text (note it is not the app display name after installation), click "save" button. in this case, it creates an IPA file and a plist file with the same name as the IPA file (assume cityucap. IPA and cityucap. plist)
Step 8: copy the IPA and plist file generated by STEP 7 to your web site (note: the URL must be the same as the "Application URL" set in Step 7 ), create an HTML file as follow.

1 <a href="itms-services://?action=download-manifest&url=http://xxx.xxx.xxx.xxx/
CityUCAP.plist">Install
App</
a>

Step 9 Add two MIME types to your web server; otherwise, errors may occur during installation. The following uses IIS as an example to add MIME type
1. Open IIS manager, select the root node on the left panel, and click "MIME types" on the right panel double"
2. Right click any position, select "Add ...", Add the following two MIME types

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 in Step 8 in your iPhone web browser, and click link to install app!

For step 9, I have never configured this step because I have been using nginx.

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.