Several Methods for releasing an internal test program for iPhone

Source: Internet
Author: User

After the application is developed and enters the testing stage, you usually need to release some internal versions to the tester's machine for installation. How to do this? This article will introduce in detail.

1. If the user's machine has been jailbroken, it is easy to package it into IPA. the user can directly install it through tools such as 91 assistant, synchronous push, and PP assistant.

2. If the user's machine is not jailbroken, the following solutions are available:

1. If your (IDP) iPhone developer account is for $299 Enterprise Edition, you can directly send the IPA to the user for installation. Note: For an account of $299 Enterprise Edition, the developed applications cannot be uploaded to the appstore and can only be published and used within the enterprise.

2. Install the application in wireless mode

This method has been introduced on the official help website of Apple: http://help.apple.com/iosdeployment-apps/#app43ad871e

The specific method is:
(1) Get the customer's udid, update mobileprovision from the apple Developer Center, download and save it to your local device, and double-click Install.
(2) Select the correct code sign and archive> build configuration> select debug or adhoc.
(3) archive. After finishing the archive, get the IPA from organizer.
(4)modify the two files test.html and manifest. plist, which must be changed. I have marked them in red and published them with app. IPA to the server.
(5) Open http: // your_server_addr/domain/test.html with iPhone Safari
(6) Click to install
  

Note: you also need to provide a PNG logo in 57x57 and 114x114 formats.

  

Appendix: test.html example:

<! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<HTML xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta name = "viewport" content = "Initial-scale = 0.8">
<Title>
</Title>

</Head>
<Body>
<Table Style = "width: 294px; Height: 248px">

<Span style = "float: Left;"> download the IPA Installation File (V1.0) </span>
</Table>
</Body>

<Script language = 'javascript '>
Install = function ()
{
Location. href = 'itms-services ://? Action = download-manifest & url = http: // your_server_addr/domain/manifest. plist ';
}
</SCRIPT>

</Html>

 

Manifest. plist example:

<? XML version = "1.0" encoding = "UTF-8"?>
<! Doctype plist public "-// Apple // DTD plist 1.0 // en" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<Plist version = "1.0">
<Dict>
<Key> items </key>
<Array>
<Dict>
<Key> assets </key>
<Array>
<Dict>
<Key> kind </key>
<String> Software-package </string>
<Key> URL </key>
<String> http: // your_server_addr/domain/appname. IPA </string>
</Dict>
<Dict>
<Key> kind </key>
<String> display-image </string>
<Key> needs-shine </key>
<True/>
<Key> URL </key>
<String> http: // your_server_addr/domain/logo57.png </string>
</Dict>
</Array> <key> metadata </key>
<Dict>
<Key> bundle-identifier </key>
<String> bundleid </string>
<Key> bundle-version </key>
<String> 1.0.1001 </string>
<Key> kind </key>
<String> Software </string>
<Key> subtitle </key>
<String> subtitle </string>
<Key> title </key>
<String> title </string>
</Dict>
</Dict>
</Array>
</Dict>
</Plist>

3. Use test flight
Https://testflightapp.com/

After the application is developed and enters the testing stage, it is usually necessary to release some internal versions to the tester's machine for installation. The general process is to obtain the unique identifier of the test machine, create a signature file at the Apple Developer Center, and then package and release it into an IPA file. Finally, it is sent to the tester to use iTunes to synchronize to the iOS device, or to create an installation Description file, which is put on the website together with IPA, so that the tester can install it online on the iOS device.
The appearance of test flight simplifies this complicated process. The first problem to be solved is to obtain the unique identifier of the test machine, which is a bit difficult for common users. In the test flight process, developers only need to send an invitation email to the tester. The tester can easily send the required test information back through the guidance provided in the email. A developer can create a signature file and complete the final packaging after collecting information from all the testing machines in the management background. After all this is done, use the File Upload and sharing Function of test flight to send the application installation information to the tester's device. In the background of test flight, developers can see which testers have installed which versions, and the feedback from testers. If the test flight SDK is integrated into the code, it can even implement user behavior statistics and collect error reports. The best thing is that everything is free.

 

The methods 2 and 3 actually use adhoc and all use the method of signing specific user devices to run on specific devices.

 

By sschu

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.