How to use iOS to develop ad hoc

Source: Internet
Author: User

In a nutshell, that's it.
Ad hoc mode is Apple used to test for the unused app, first you need to apply for an ad hoc certificate on the Apple development Platform,
Then generate an ad hoc profile file in profiles (just select the certificate at the time of the build)

, and then download it down to it.
how to generate a Adhoc profile in iOShypo421 | Browse 338 times 2016-03-02 10:04 2016-03-02 10:47Best Answer
Ad hoc mode is Apple used to test for the unused app, first you need to apply for an ad hoc certificate on the Apple development Platform,
Then generate an ad hoc profile file (just select the certificate at the time of the build) and download it.



Https://zhidao.baidu.com/question/1669512040182017747.html

There are 2 types of iOS certificates, 1 are development certificates for you (developers) to do real machine testing, 1 are publishing certificates, publishing certificates are distributed to the App Store (not mentioned here) and publish the test ad hoc certificate.

What is the difference between the Ad hoc certificate and the development certificate? If your tester (team tester, customer) can put the test equipment in front of you, directly plugged into your Mac development machine, you can directly "pour" the program into, that has the development certificate is enough, do not need ad hoc certificate.

What if tester's iOS device doesn't allow you to fill in the program directly? You have to pack (Archive) your program and send it to your tester to install it through itunes, which requires an ad hoc certificate.

The specific difference, we first look at the Ad hoc certificate generation process, and development certificate generation very similar.

1. Enter the main interface of provisioning portal

(How to access the Provisioning Portal main interface, you can refer to "iOS Program release Test 2-Get tester device Udid")

2. Select provisioning, then select distribution

This is a difference between developing a certificate and publishing a certificate, and in the article "iOS Program release Test 4-Pack (Archive) release (Share)", the difference between usage is mentioned.

3, select "New Profile", the new publishing certificate interface appears

Select Ad Hoc, then select the device ID for tester (how to obtain and add the tester device ID, see "ios Program release test 3-Get tester device Udid").

  

4, download the certificate to the local

Click "Download" to place the certificate locally.

Note: If the status is "Pending", refresh it as "Active".

  

5, import the certificate. Double-click to show Xcode (I'm 4.0 here) provisioning interface

The certificate is generated and imported, followed by packaging (Archive) and publishing (share).

iOS Program release Test 4-Pack (Archive) release (share)

Release the final step of the test package (Archive)

XCODE4 Help documentation is described in more detail, but is actually wrong, here to explain

1, set "Build Settings", is the official document, pay attention to that red box, actually said the reverse

"Skip Install" must choose No, otherwise in the following packaging steps, organizer do not see your program, just for this toss me a lot of time, foreign forum a bunch of questions, said I follow the official documents do, how organizer can't see the program.

1.1 Select the Ad hoc certificate. In the "Code Signing" column, select the Publish certificate (ad hoc) that you generated in the article ("iOS program release test 3-Generate ad hoc certificate")

Choose "iphone Distribution" instead of "iphone development", or you will be packaged (Archive) below to report a certificate error.

2. Edit "Scheme", select Menu: Product---edit scheme

Red box section to select the pair, note to choose iOS device and release separately.

3, packaging (Archive), select menu: product->archive, in the Organizer window can see your program

Then click on the "Share" button to publish (share)

4, Share

Choose the first IOS App Store package to generate an. ipa file, and your tester can be installed using itunes.

The last archive, need to install Xcode.

How to use iOS development ad hoc

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.