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.