How to deploy the IOS test program to other devices

Source: Internet
Author: User

I recently encountered a problem when developing an iOS application project: we want to testProgramSend to the customer for trial, but the customer and we are not in the same place, that is, they cannot get their device. I think many developers may also encounter similar problems. I recently used online materials and practices to solve this problem. Here I will share my ideas for your reference.

1. Get the user's device udid.

2. log onto the apple development center and add the user's device number in the IOS provisioning portal. This step is the same as binding a test device locally. You must manually enter a udid.

3. Edit the provisioning file of the application in provisioning, associate the newly added customer device, generate the provisioning file again, and download it.

4. Use the downloaded provisioning file in xcode to re-compile the project and generate an app. Then select the product directory in the list on the left of xcode, which contains the generated app. Right-click and select Open in Finder to view the compiled application file. In Mac, it is a file. If it is copied to Windows, it is actually a folder.

5. At this time, send all the files in this directory and the provisioning file together to the customer.

6. After obtaining the file, the customer uses iTunes to connect to the device.

7. Drag the provisioning file to the database node of iTunes. After dragging and dropping, iTunes automatically installs the provisioning file to the device. In fact, when you locally connect the device to the development machine, xcode will automatically help you install the provisioning file, but you can use this method to manually operate when you cannot get the device.

8. Drag and Drop all received project folders to the database. At this time, iTunes will automatically package these files into IPA. Then, you can see the generated application in the Application List on the right.

9. The installation is complete after synchronization.

 

If not, the following is the most likely reason:

Check the project configuration and whether the project compiled by the provisioning file containing the customer's device information is used.

 

This is the process of deploying the test program when the device cannot be obtained. In addition, the target device does not need to be jailbroken.

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.