Apple Enterprise Account package release app flow

Source: Internet
Author: User

Original link: http://www.cnblogs.com/mddblog/p/4718228.html

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:


, 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 is shown below:

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 the final Provisioning Profile (Enterprise Edition does not need 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:

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 can be installed (be sure to enter the red string along with the blue URL).

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

So, how do you get someone else's app, or avoid others downloading your app?

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.

1 <?xml version="1.0"Encoding="UTF-8"?>2 <! DOCTYPE plist Public"-//APPLE//DTD PLIST 1.0//en""Http://www.apple.com/DTDs/PropertyList-1.0.dtd">3 <plist version="1.0">4 <dict>5 <key>items</key>6 <array>7 <dict>8 <key>assets</key>9 <array>Ten <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>Panax Notoginseng <key>bundle-version</key><String>1.0</string>39 <key>kind</key>40 <string>software</string>41 <key>subtitle</key>42 <string> Subtitle (not required) </string>43 <key>title</key >44 <string> application name (required) </string>45 </dict>46 </dict>47 </array>48 </dict>49 </plist>                  

Apple Enterprise Account package release app flow

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.