In IOS 4.0, wireless deployment is added. Wireless deployment is a method completely separated from the iTunes publishing program. OTA deployment
"Wireless deployment" is dedicated to enterprise deployment, including ad-hoc and in-house deployment. Therefore, you must use these two provisioning profiles files in this article.
After the above preparation is complete, open the project. Shortcut: Control + command + O open the organizer and drag the corresponding provisioning file to the corresponding dialog box.
Choose build> build and archive from the menu bar ".
If build and archive are gray, set it to device and distribution.
After compilation is successful, the orgnizer window will pop up,
Select "share application ...",
The share archived appliation window is displayed. Then, select "distributefor enterprise ".
The deployment description file (. plist) Configuration window is displayed, in which information such as. ipa url is entered.
Click OK. The file storage path selection window is displayed. Select a target folder, such as the desktop, and enter a name, such as glowdemo:
Click Save. So there are two files on the desktop. This is the two files required for OTA release. In addition, the provisioning profile file is used for signature:
Prepare another icon file (application icon file, large icon 512*512, small icon 57*57 ):
This step is optional. You can also choose not to use the icon.
Place all the above four files on the web server, for example:
Create a new HTML page glowdemo.html on the server. The content is as follows:
<HTML>
<Head> <title> textglowdemo </title>
<Body>
<Ul>
<Li>
<A href ="Http: // 10.180.120.235: 8080/anymail/inhouseprovisionprofile. mobileprovision"> Provisioning file </a>
</LI>
<Li>
<A href ="Itms-services ://? Action = download-manifest & url = http: // 10.180.120.235: 8080/anymail/glowdemo. plist">
Install glowdemo </a>
</LI>
</Ul>
</Body>
</Html>
Note:Itms-services ://? Action = download-manifest & url ="It is fixed. You cannot change it to another one. Otherwise, Safari will not call the installer.
Open safari on the iPhone and enter the html url: http: // 10.180.120.235: 8080/anymail/glowdemo.html:
First, click the provisioningfile link. iOS prompts you to install the preset description file. Install it as prompted.
Click the install glowdemo link, and iOS will prompt you to install it.
In xcode4.2, the build and archive menu is missing and the operations are slightly different. For details, see.
Click product-> archive:
See share... Button? Next, choose to publish the certificate:
Next, select the IPA save path. When you click Save for enterprise distribution, the. plist editing page is displayed. Like xcode3.2, you need to enter several urls:
Save, return to orgnizer, right-click the created archiver, and select Show in finder:
Now, you can see the created file:
The subsequent steps are the same as those in xcode3.2.