Make an iOS Ad-hoc test app

Source: Internet
Author: User
Tags configuration settings

This article is to ensure that the completion of the iOS real-computer test certificate A series of import processes under the premise of the operation, if not done, please find the relevant information on the network, here no longer repeat.

1. Add Devices:

Sign in to Apple Developer site: https://developer.apple.com/account/ios/device/deviceList.action, add the Udid for the device you want to install the test app (Apple Limited, add up to 100 devices)

2. Add a publishing Certificate:

Click Distribution in the left navigation bar provisioning profiles to add a new certificate

Select Ad Hoc

Select an app ID, which is the Universal app ID

Select Developer

Add a test device

T

Complete information

Download the certificate locally and double-click to add it to Xcode

At this point, the work on the Apple Developer website is over.

3. Xcode settings

Click the project icon in Xcode and find the configuration settings under Info tab, with Debug and release as the default. Click +, select Duplicate the "Release configuration", to create a new thing name, we recommend the use of "ad hoc distribution"

Click the targets icon and under Build Settings this tab, locate the Code signing section. Set the ad hoc distribution certificate in code Signing identity to the certificate that you just imported to the corresponding test app in Xcode. Be careful not to change the certificates in debug and release.

Ensure that the bundle indentifier inside the Info tab in target has a default value that must match the provision portal input. This is important, otherwise it will go wrong in the future.

In the upper left corner of Xcode, there is a drop-down menu to the right of the Run button, select Device or Simulator, and click Edit schema below the menu. Ensure that the value in build configuration in archive is ad hoc distribution

4. Compile the program

The configuration work ends here. Click on the archive in product, the program starts compiling, after the compilation is finished, pop up the settings box, click Distribute ...

Click the first option save Built products

A. IPA file is generated by creating a folder, locating the corresponding file in the Applications folder, dragging it into itunes, and then dragging it out of itunes. this. IPA can be installed in a test application device that was previously set up.

Make an iOS Ad-hoc test app

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.