IOS IPA packaging and real-machine testing

Source: Internet
Author: User

To test your App with a real machine, there are 4 concepts involved:

Certificates (voucher) means that you are a legitimate developer, that is, you registered for the developer account, the voucher contains your name, email, voucher type and other information.

Identifiers (identity) refers to the unique identity of the App.

Devices (device) is a mobile device, each phone has a different UDID, just like our ID number.

Profiles (config) is a configuration file that certificates (credentials), Identifiers (identity), and devices (devices) are integrated together.

Step: (Reference: http://jingyan.baidu.com/article/ff411625b8141312e48237a7.html)

1. Create a Certificates (voucher).

Depending on the purpose, the voucher is divided into 2 categories:

Development (development) is the credential that is used when debugging on a test phone during the development phase.

Distribution (release) The voucher used when the APP is published, after development is complete.

After the creation is complete, download it for backup.

2. Create a Identifiers (identity).
The general format is com.domainname.appname.

3. Register Devices (device).

Get the UDID of the phone and add it to the Devices list.

4. Generate Profiles (config).

Generate a profile as needed (development or distribution, which App, which phone).

Download the backup after the creation is complete

5. Install the IPA document to the real machine

Open Xcode > Product >archive, Open orginization, select Export > Save for Ad Hoc Deployment > Export, select

Download the Itools tool, connect your phone with a data cable to your computer and IPhone6, and double-click the project document on your device to install it.

Problems encountered:

1.Product Select Archive, Gray is not selectable

2. An error occurred after updating the version:

3. After the profile is generated, double-click to add to the project:

Remember to set code Signing: (Because I put it on a real-machine test, so I chose the iphone Developer, and distribution was released)

4. Nota PNG file IOS true machine escalation error

(1). At this point, if it is a PNG crash, enter Target's build pharase to see the copy Bundle resourses if there are any resources marked as red, delete and build.

(2). Modify the Compress PNG files to No.

5. Big question:

Workaround:

Let the customer re-innovate the development and release certificate revoke and import the P12 certificate, and update the profile configuration file with even if it is successfully packaged.

6.No identity found

Xcode > Preferences > Accounts > View Details > And just refresh the Provisioning profile, click Refresh.

IOS IPA packaging and real-machine testing

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.