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:
ClickNext
Click. In the second step, select the code signature andEnterprise
OrAd-Hoc
Signature, as shown in:
ClickNext
Button, step 3 Fill in the distribution information, select the application storage location and name, and selectSave for Enterprise Distribution
Input 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.Build
AddedAchive
Option, selectArcive
After 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.