iOS development uses ad hoc for testing

Source: Internet
Author: User

Because a project needs to be tested for someone recently, the ad hoc method is used

First login to the developer's website to configure the certificate

1. Add certificates, get certsigningrequest from your computer and add it in

2. Add the bundle ID and name to debug app in Identifiers app IDs

3. Add the Udid of the phone that you want to test for someone in Devices

The first few steps are the same as the real machine debugging, simple explanation

4. In Provisioning Profiles add Profiles in the time to select Ad Hoc

?? Continue

Select App ID for the app you want to debug

Continue

Select Developer

Continue

Select the phone you want to debug (multiple options available)

Continue

Enter the name of the saved certificate and then generate to download it after the build

5. After saving the certificate, open Xcode, double-click the certificate

6. In xocde-preferences-account Add the developer account that just set up the certificate, if added, skip this step

7. Then add the downloaded Ad hoc certificate to the Provisioning profile inside the project project-build settings-code Signing

If this option is not possible, double-click the generated ad hoc certificate again

Provisioning Profile Developers all choose to set the certificate of the developer account

Connect to the real machine to see if it works

8.Xcode menu Bar Select Product-archive, will pop up organizer window (already Archive can be opened from the menu bar Window-organizer)

Then select Export, select Save for Ad Hoc Deployment, then next

9. A pop-up window allows you to select the developer and select the developer who set up the certificate.

10.

Select Next

11.

1 in the box will display the configured ad hoc certificate, if the display *, then the problem, please log on to the developer's official website to see if the Ad hoc certificate is valid (if invalid edit for valid)

If the display is correct, direct next

12. Then the app's IPA is generated, and the program can be tested for others.

iOS development uses ad hoc for testing

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.