How to install applications directly on iOS devices without AppStore

Source: Internet
Author: User

This article reprinted to http://mobile.51cto.com/hot-439095.htm

With the Itms-services protocol, apps can be installed directly on your iOS device via Safari browser. In this way, as long as a server is placed in the intranet, testers only need to access a specific URL through the Safari browser of the test device to install it and then test it.

AD:WOT2015 Internet operations and developers Conference selling tickets

With the Itms-services protocol, apps can be installed directly on your iOS device via Safari browser. In this way, as long as a server is placed in the intranet, testers only need to access a specific URL through the Safari browser of the test device to install it and then test it. (PS: Jailbreak device can also)

The Itms-services protocol requires a plist configuration file. If you want to implement the functions shown above, the required files are: An IPA file, a plist file, an HTML file, and an image file. Among them, the most important is the plist file. With Shell scripting, we can make it automatically generate plist files and HTML files for us, and copy and put together the IPA files and program icon files in the Xcode project.

"Xcode automatically play IPA package script" Learning Address: http://webfrogs.me/2012/09/19/buildipa/

Examples of plist files are as follows:

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <! DOCTYPE plist public "-//apple//dtd plist 1.0//en" "Http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
  3. <plist version="1.0" >
  4. <dict>
  5. <key>items</key>
  6. <array>
  7. <dict>
  8. <key>assets</key>
  9. <array>
  10. <dict>
  11. <key>kind</key>
  12. <string>software-package</string>
  13. <key>url</key>
  14. <string>ipa package, such as: http://www.tammy.com:450/static/ios/(TargetName) _ (Version) _build (buildversion) _ Yyyymmdd.ipa</string>
  15. </dict>
  16. </array>
  17. <key>metadata</key>
  18. <dict>
  19. <key>bundle-identifier</key>
  20. <span style= "font-family:fangsong_gb2312" in the <string> application>bundle-identifier</span><span style="font-family:fangsong_gb2312" ></string></span>
  21. <key>bundle-version</key>
  22. <string> Version number </string>
  23. <key>kind</key>
  24. <string>software</string>
  25. <key>subtitle</key>
  26. <string> Sub-headings </string>
  27. <key>title</key>
  28. <string> Software name </string>
  29. </dict>
  30. </dict>
  31. </array>
  32. </dict>
  33. </plist>

Examples of HTML files are as follows:

  1. <span style="font-size:12px"><! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01//en" "HTTP://WWW.W3.ORG/TR/HTML4/STRICT.DTD"> " /c1>
  2. <html>
  3. <head>
  4. <meta http-equiv= "content-type" content= "text/html; Charset=utf-8 ">
  5. <meta http-equiv= "content-style-type" content="Text/css">
  6. <title> Test Pack installation </title>
  7. </head>
  8. <body>
  9. <br>
  10. <div style= "position:absolute;left:200px"  width=400><a  href= ". /index.html "> back </a></div>   
  11. <H1 align="center"> Development (TRUNK)</H1>
  12. <table align="center" border=1 width=>
  13. <tr height=>
  14. <th colspan=2><h2> title </H2></th >
  15. </tr>
  16. <tr height= align="center">
  17. <TdWidth=200><AHref= "Itms-services://?action=download-manifest&url=</Span><Span style= "font-size:10px "><Spanstyle="font-family:fangsong_gb2312">http://www.tammy.com:450/static/ios/****.plist</Span><span style= "font-family:fangsong_gb2312" > "><h2>install</ h2></a ></td> </span></span><span style= "font-size:12px" >   
  18. <TdWidth=200><AHref= "</Span><Pre name= "code" class= "HTML" style= "Color:rgb (34,34,34); Line-height:22px ">http://www.tammy.com:450/static/ios/(TargetName) _ (Version) _build (buildversion) _yyyymmdd.ipa</pre> "> <h2>download</h2></a></td></ Tr>    </table ><br> </body></html> 

To install the application directly without using the app Store, proceed as follows:

1. Set the signature

Using the developer profile or the Adhoc distribution Profiles signature app, note that you cannot sign in with distribution, a personal developer certificate can only be installed wirelessly in 100 devices.

2. Generate Arichive

Menu: product->archive, you can see the generated arichive in organizer when you are finished.

3. Generate IPA

Select the arichive you just generated, click "Distribute ...", pop up as interface, select the second, click "Next", set the relevant parameters, be sure to tick "save for enterprise Distribution". Application URL, is the location of the generated IPA in the server, title is the caption that appears during installation, and the large image URL and smal image URL are icons that appear during installation. Click Save to generate two files: ***.ipa and ***.plist.

4. Server Deployment

Deploy the generated ***.ipa and ***.plist files to the server and generate an HTML file on the server to open a link after clicking, so the iOS device executes the instructions to install the app automatically. The link to open is as follows:

Itms-services://?action=download-manifest&url=http://www.tammy.com:450/static/ios/****.plist

How to install applications directly on iOS devices without AppStore

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.