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. (Prevents archive)
1 Packaging IPA
1.1 Edit Scheme
Use Xcode to open the corresponding app. Product->scheme->edit scheme, fill out scheme name14 as shown
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. When you open plist with Safari, the Install IPA, size icon is downloaded according to the URL you fill.
So where does plist put it? What is the URL of it? 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 the IPA package, also access the size icon
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>10 <dict>11 <key& Gt;kind</key>12 <string>software-package</string>13 <key>u rl</key>14 <string>ipa Package URL (required) </string>15 </dict>16 <dict>17 <key>kind</key>18 <STRING>FULL-SIZE-IMAGE&L t;/string>19 <key>needs-shine</key>20 <false/>21 <key>url</key>22 <string> Download big picture (not required) </string>23 </dict>24 <dict>25 <key>kind</key>26 <string>display-image</string>27 <key>needs-shine</key>28 <false/>29 <key>url</key>30 <string> Download small picture (not required ) </string>31 </dict>32 </array>33 <key>metadata</key> ; <dict>35 <key>bundle-identifier</key>36 <string>bu Ndleid (required) </string>37 <key>bundle-version</key>38 <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& gt;48 </dict>49 </plist>
AppStore Enterprise Account package release app flow