iOS Enterprise Pack (reprint)

Source: Internet
Author: User

Turn from http://www.cnblogs.com/shenlaiyaoshi/p/5472474.html to the key-Chen Shiyu

IOS Enterprise Edition Packaging

Using the IOS Enterprise Certificate Publishing app, you can skip AppStore, publish directly to your website, and let others download and install it on your website, but only if you want to use the apple-brought Safari browser to install it, other browsers may not recognize the Itms-services protocol.

I. Production of certificate documents

1. Modify the keychain configuration.

2. Open keychain, click Keychain Access-Certificate assistant-Request a certificate from a certification authority.

3. Save the certificate and use it later.

Second, build and install the certificate

1. Go to the Apple Developer Center https://developer.apple.com and log in to your enterprise account. With Certificates-production selected, re-create the certificate without a certificate.

2. Click on the continue below to enter the CSR file Introduction page

3. Continue to click Continue to enter the page where the CSR file was uploaded, that is, the keychain request (certificatesigningrequest) file that you just requested from the Keychain interface, click Choose File to locate the CSR file and open it.

4. Click Generate to generate the certificate, click Download and then click Done to complete the certificate request. Double-click the downloaded certificate file to complete the installation of the certificate (. cer).

Iii. adding Enterprise-class applications

1. Select Identifies-app IDs and click the plus sign to create a new app ID without the app ID.

2. Fill in the app ID description,bundle ID for your app and fill in the Bundle ID in your project, the rest of the default.

3. Click Continue, enter the app ID confirmation screen, click on the Submit app and click Done to complete the app ID creation.

Iv. generation of Provisioning Profiles

1. Select provisioning Profiles-distribution, if no provisioning Profiles click on the plus sign to create a new provisioning Profiles.

2. Select Distribution-in House, click Continue, and select the APP ID you just created for the provisioning profiles you created.

3. Select the corresponding certificate for the provisioning profiles you are currently creating.

4. Click Continue to name the provisioning profiles before the point.

5. Click Generate to generate provisioning Profiles, click Done after Download download is complete.

6. Double-click the downloaded provisioning profiles file to complete the installation.

V. Packaging and Publishing Apps

1. Select the matching certificate and provisioning Profiles for Target and Project in Xcode.

2. Start packing, select target and iOS device, cannot use simulator, if no iOS device is selected generic iOS devices. Click Product-archive.

3. After the package is complete, go to the Organizer panel, select the package you just finished, click Export on the right side of the panel, select the Save Enterprise for Deployment option.

4. Click Next, select the corresponding certificate and then select what device to export to use.

5. Click Next until the plist file is set up for the current IPA. Note: The address where the resource is stored must comply with the HTTPS protocol.

6. Click Export to generate an IPA package and a plist file, making sure that the name of the resource that is appended to the three URLs in the Plsit file is the same as the name of the resource you want to give to the server. As shown, the 4 files you need to provide to the server are: Baidu.ipa,image.57x57.png, image.512x512.jpg, and the generated plist file.

Note: After you finish the package, you can install the IPA package to your IOS device via ITunes, if you can install the success instructions without problems, if you can't install the instructions before the certificate has a problem, please follow the steps above to re-request the certificate and other files.

7. Upload these resources to a user-accessible area where the plist file will be downloaded when the user taps the web link in the Safari browser and triggers the app it describes to be downloaded and installed. The following is an example link:

<a href= "Itms-services://?action=download-manifest&url=https://xxx.com/manifest.plist" >Install APP < /a>

Please do not add an IPA web link, and the IPA package will be downloaded automatically when you finish downloading the plist file. Although the protocol portion of the URL is itms-services, ITunes does not participate in this process.

Requirements for the service side:

OS X Server settings MIME type:

Application/octet-stream IPA

Text/xml plist

IIS uses IIS Manager to add MIME types to the server's properties page:

. IPA Application/octet-stream

. plist Text/xml

iOS Enterprise Pack (reprint)

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.