Apple Enterprise Account release app--distribute apps via your website

Source: Internet
Author: User

First, through the Enterprise Account application certificate
    • 1 Certificate Signing Request (CSR) file

In the Mac system, go to Keychain Access, select Keychain Access-Certificate assistant-"request a certificate from a certification authority ...", as shown in 1:


Keychain Request Certificate

, fill in the first two items, and select "Save to Disk", 2:


    • 2 Request Certificate Certificate
      Login https://developer.apple.com-> MemberCenter Certificates, Indentifiers & Profiles Certificates , 3, as follows:

On the Figure 4 page, click the plus sign in the upper right corner to add a certificate:


--Select in-house and Ad Hoc, point continues, 5 shows:


->6:choose file Select the 1th step of the CSR files upload, click Generate Generate CER certificate, download and double-click An Jun (need to enter the password of the Mac)


    • 3 App ID

Click the plus button in the upper-right corner, 7:


There are two items that need to be filled in (8), and the name can be filled in as a description. The Bundleid must be exactly the same as the app's Bundleid (9). As for app services, choose according to your needs. Last Click Continue->submit->done



    • 4 Generate final Provisioning Profile (Enterprise Edition does not require device that is iphone Udid, so skip)

Select Provisioning Profile->all, click the plus sign in the upper right corner:



, select the AppID you just created, and click Continue, as shown in 12:


Select CER Certificate click Continue. Figure 13 makes it easy to identify the resulting profile file. Then click on Generate and download double click to open. At this point the certificate link is complete


Second, packaging IPA, manual generation of plist

Before starting this step, you need to plug your phone into your computer and debug options to select the real machine. (Prevent archive), if there is no real machine, you can choose iOS Device (this is not tested).

1 Packaging IPA
    • 1.1 Edit Scheme

Use Xcode to open the corresponding app. Product->scheme->edit Scheme, fill in Archive name, which is the name of the packaged IPA, shown in 14


    • 1.2 Select the corresponding certificate, which is the certificate you just generated, as shown in 15:

    • 1.3 Archive, Product->archive, and proceed as shown in Figure 16, Figure 17 (Choose Save for Enterprise Deployment):


An IPA package is generated after completion.

Third, publish the app

There must also be a plist file to publish, and a plist file will be generated automatically before Xcode6, but after Xcode6 we need to create the plist ourselves, the article finally provides a plist template, Copy and rename to plist after you open the prompt action. Figure 18 is plist, you can see there are three URLs, respectively, the IPA, size icon. 1 (IPA), 2 (big picture), 3 (small) fill out our own generated URLs, the IPA and size icons on our own server, when opened plist with Safari will be filled with the plist inside the 1, 2, 3 corresponding URL to download the installation IPA, size icon.


So where does plist put it (that is, what is the URL of Safari to open plist)? Apple to plist storage address has requirements, must be HTTPS, if there is no HTTPS website, we can put plist in https://git.oschina.net.

This is done by creating a project (not private), then uploading the edited plist to the project and finally assigning the plist URL, such as https://git.oschina.net/waitwait/companytest/blob/ Master/mddtest.plist. Then we enter in Safari: itms-services:///?action=download-manifest&url=https://git.oschina.net/waitwait/companytest/blob/master/MDDTest.plist It's ready to install (Safari will parse itms-services:///?action=download-manifest&url= ).

Note that there is a simple friend Oschina https can not be used, in fact, the common HTTPS link will often be blocked, you can try GitHub, Baidu Cloud, seven Qiniu storage and so on. In addition, it's best to use your own

The specific process for safari operations is:

    • 1 Safari Parse the string that we entered to find the plist file
    • 2 According to the information provided in the plist file to download and install the IPA package, also access the size icon, the size icon in the IPA package is being downloaded, when the download is complete display the program's own icon
    • After downloading the installation, if you want to open the program also need to use the phone settings, general-purpose file and device management (different system may not be the same name) in the selection of the appropriate certificate trust before you open the program

Here is the text form of the plist template, copy it to text, and then rename it. plist, use Xcode to open follow the prompts to edit.

<?xml version="1.0" encoding="UTF-8"?><! DOCTYPE plist Public "-//apple//dtd plist 1.0//en" "Http://www.apple.com/DTDs/PropertyList-1.0.dtd" ><Plistversion="1.0" ><Dict><Key>items</Key><Array><Dict><Key>assets</Key><Array><Dict><Key>kind</Key><String>software-package</String><Key>url</Key><String>ipa package URL (required)</String></Dict><Dict><Key>kind</Key><String>full-size-image</String><Key>needs-shine</Key><False/><Key>url</Key><string> download big picture (not required)</String></Dict><Dict><Key>kind</Key><String>display-image</String><Key>needs-shine</Key><False/><Key>url</Key><string> download Small picture (not required)</String></Dict></Array><Key>metadata</Key><Dict><Key>bundle-identifier</Key><String>bundleid (required)</String><Key>bundle-version</Key><string>1.0</String><Key>kind</Key><String>software</String><key>subtitle</ key> <string> subtitle (not required) </string> <key> Title</key> < string> Application name (required) </string> </dict> </dict > </array></ dict></PLIST>    


Time is still
Links: http://www.jianshu.com/p/0418f5051185
Source: Pinterest
Copyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.

Apple Enterprise Account release app--distribute apps via your website

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.