Building iOS Apps for Enterprise Deployment
2013-10-22 11:00
393 查看
Followed below document to generate my Enterprise certificate and provision profiles for both development and distribution, which is good to share:
Overview
This document describes the steps needed to build an iOS app for Enterprise deployment. Unlike ad-hoc builds, these builds can be installed on any iOS device owned by the enterprise. Ad-hoc builds are usually created for testing an app on a pre-defined set
of test devices. When the app is ready for production deployment, an enterprise (in-house) build is created.
Note: You must have the Team Agent role in the iOS Provisioning Portal to create the artifacts needed for this build.
The process for building an Enterprise app is:
1. Create the Distribution Certificate.
2. Create an Enterprise Provisioning Profile. (Go to developer.apple.com and click Member Center.)
3. Build the app using the Enterprise Provisioning Profile.
Following sections explain these steps in further detail.
Create a Distribution Certificate
Distribution certificates are used to sign Enterprise apps. The steps to receive a Distribution Certificate are:
1. Login to the iOS Provisioning Portal with the Agent role.
2. In the Certificates section, go to Distribution tab.
3. Use the Certificate Assistant (available in the Keychain Access application on Mac OS X) to generate a Certificate Signing Request (CSR).
4. Upload the CSR to the iOS Provisioning Portal and download the distribution certificate.
5. Save the certificate on the disk, and open this using Key Chain Access.
6. Xcode can now use this certificate to sign iOS apps.
7. To export this certificate to a different (build) machine, exported it in .p12 format:
a. In Key Chain Access, go to the My Certificates section
b. Right-click on the downloaded certificate and click "Export..."
c. Save the certificate in .p12 format, and provide a secure password while saving.
Create an Enterprise Provisioning Profile
The steps to create an Enterprise Provisioning Profile are:
1. Log in to the iOS Provisioning Portal with the Team Agent role.
2. In the Provisioning section, go to the Distribution tab.
3. Click on New Profile. On the Create iOS Provisioning Profile page
a. Select the Distribution Method as In House
b. Select an appropriate distribution certificate
c. Select App ID
4. Download the provisioning profile.
5. This provisioning profile can be used to build the app for in-house deployment.
Building an App Using an Enterprise Provisioning Profile
The steps to build an app on a machine are:
1. Install the Distribution certificate (.p12 file)
2. Open Xcode. Go to the Organizer window
3. Import the Enterprise Provisioning Profile
4. Open the app’s project file in Xcode
5. Go to Build Settings, Code Signing section
6. Select the certification contained in the Enterprise Provisioning Profile
7. Build the project using Build For > Build for Archiving. This will create the app archive in .ipa file format
8. The .ipa file is ready for enterprise deployment
The original document comes from: http://www.maas360.com/maasters/forums/mobile-app-management-mam/show/332/building-ios-apps-for-enterprise-deployment
Overview
This document describes the steps needed to build an iOS app for Enterprise deployment. Unlike ad-hoc builds, these builds can be installed on any iOS device owned by the enterprise. Ad-hoc builds are usually created for testing an app on a pre-defined set
of test devices. When the app is ready for production deployment, an enterprise (in-house) build is created.
Note: You must have the Team Agent role in the iOS Provisioning Portal to create the artifacts needed for this build.
The process for building an Enterprise app is:
1. Create the Distribution Certificate.
2. Create an Enterprise Provisioning Profile. (Go to developer.apple.com and click Member Center.)
3. Build the app using the Enterprise Provisioning Profile.
Following sections explain these steps in further detail.
Create a Distribution Certificate
Distribution certificates are used to sign Enterprise apps. The steps to receive a Distribution Certificate are:
1. Login to the iOS Provisioning Portal with the Agent role.
2. In the Certificates section, go to Distribution tab.
3. Use the Certificate Assistant (available in the Keychain Access application on Mac OS X) to generate a Certificate Signing Request (CSR).
4. Upload the CSR to the iOS Provisioning Portal and download the distribution certificate.
5. Save the certificate on the disk, and open this using Key Chain Access.
6. Xcode can now use this certificate to sign iOS apps.
7. To export this certificate to a different (build) machine, exported it in .p12 format:
a. In Key Chain Access, go to the My Certificates section
b. Right-click on the downloaded certificate and click "Export..."
c. Save the certificate in .p12 format, and provide a secure password while saving.
Create an Enterprise Provisioning Profile
The steps to create an Enterprise Provisioning Profile are:
1. Log in to the iOS Provisioning Portal with the Team Agent role.
2. In the Provisioning section, go to the Distribution tab.
3. Click on New Profile. On the Create iOS Provisioning Profile page
a. Select the Distribution Method as In House
b. Select an appropriate distribution certificate
c. Select App ID
4. Download the provisioning profile.
5. This provisioning profile can be used to build the app for in-house deployment.
Building an App Using an Enterprise Provisioning Profile
The steps to build an app on a machine are:
1. Install the Distribution certificate (.p12 file)
2. Open Xcode. Go to the Organizer window
3. Import the Enterprise Provisioning Profile
4. Open the app’s project file in Xcode
5. Go to Build Settings, Code Signing section
6. Select the certification contained in the Enterprise Provisioning Profile
7. Build the project using Build For > Build for Archiving. This will create the app archive in .ipa file format
8. The .ipa file is ready for enterprise deployment
The original document comes from: http://www.maas360.com/maasters/forums/mobile-app-management-mam/show/332/building-ios-apps-for-enterprise-deployment
相关文章推荐
- building-ios-apps-for-over-the-air-adhoc-distribution
- F7 - Full Featured HTML Framework For Building iOS7 Apps(Framework7开源轻量级HTML框架)
- Android API Guide for Media Apps(三)—— 构建音频应用(Building an Audio App)
- Building the Best Facebook Login Experience for People on iOS 9
- Building librtmp for iOS
- FFmpeg building for iOS 8.3
- Xcode7编译遇到building for iOS simulator, but linking in object file built for OSX, for architectu问题解决方案
- Building GTK apps for MS Windows on Linux
- Android TV 官方教程简读1-Building Apps for TV
- Building a Jabber Client for iOS: Interface Setup
- Introduction to Model/View/ViewModel pattern for building WPF apps
- Shell script to build fdk-aac for use in iOS apps.
- Generated AOT code is wrong when building for iOS on Windows
- Unity- 实现 Building Plugins for iOS(含Demo)
- Android API Guide for Media Apps(四)—— 构建媒体浏览器服务(Building a Media Browser Service)
- Building Plugins for iOS
- Building a Jabber Client for iOS: XMPP Setup
- NewRelicAgent(CustomAnalyticEvent.cxx.o), building for iOS simulator, but linking in object file built for OSX, for architecture x8(botched)
- Building librtmp for iOS
- Can all flash games be readily ported to adobe air for deployment on ios