本文共 9655 字,大约阅读时间需要 32 分钟。
Distributing iOS Developer Enterprise Program Applications
The iOS Developer Enterprise Program allows you to develop proprietary, in-house iOS applications that you can distribute to your employees. You distribute your applications outside the App Store.
If you are not a member of the iOS Developer Enterprise Program, go to to join.
Developing iOS Developer Enterprise Program Applications
The workflow for developing iOS Developer Enterprise Program applications is similar to the workflow used by any large company that develops multiple applications for the store. During development, let Xcode manage your assets for you and use Member Center only as needed. Xcode will create your App ID and configure your project correctly to use the app services you enable.
Build Your Team (Team Agent)
If you are the team agent (the person who joins the iOS Developer Enterprise Program), build your team first by inviting team members and assigning roles. Assign the team admin role to people who help you manage your team. Assign the team member role to persons who develop your application but don’t have permission to distribute it. The team agent and team admins share the responsibility of creating team provisioning profiles, approving development certificates, and registering iOS devices for team members. The tasks a team agent can perform are a superset of the tasks that a team admin can perform. Initially, the team agent is the only team member. To invite others, read .
To learn how to manage your team, read .
Important: You have to be a Registered Apple Developer to join a team. If you invite someone who is not a Registered Apple Developer, that person can register when he or she accepts the invitation.
Create Shared Team Provisioning Profiles (Team Admin)
If you are a team admin, perform these steps to enable your development team:
Team admins can also remove team members as needed. If you use contractors to develop your applications, invite them to join your team and assign them the team member role. When their contract ends, remove them from your team, described in .
Begin Development (Team Member)
If you are a team member, perform these steps to get started:
Testing iOS Developer Enterprise Program Applications
You use an ad hoc provisioning profile, described in , to export an iOS Developer Enterprise Program application from Xcode for beta testing. Only the team agent and team admins can create an ad hoc provisioning profile for distribution. After you export your application, consider using the Xcode service to distribute it to testers and other team members. See for more information about using the Xcode service.
Important: As a member of the iOS Developer Enterprise Program, you don’t have an iTunes Connect account or the ability to distribute your application for beta testing using iTunes Connect.
Requesting Additional Enterprise Distribution Certificates
As a member of the iOS Developer Enterprise Program, you are allowed to request multiple distribution certificates.
To request another distribution certificate
To install the certificate in your keychain, double-click the downloaded certificate file (with a .cer extension). The distribution certificate appears in the My Certificates category in Keychain Access.
Managing Expiring Certificates and Provisioning Profiles
You are responsible for managing your team’s certificates and provisioning profiles. iOS Developer Enterprise Program certificates expire after three years and provisioning profiles expire after one year.
Before a distribution certificate expires, request an additional distribution certificate, described in Requesting Additional Enterprise Distribution Certificates. You cannot renew an expired certificate. Instead, replace the expired certificate with the new certificate, described in .
If a distribution provisioning profile expires, verify that you have a valid distribution certificate and renew the provisioning profile, described in .
Xcode manages your development certificates and team provisioning profiles for you.
Distributing Your Application In-House
To export your application for distribution to your employees and outside the store:
Creating an Archive
Create an archive of your application regardless of the type of distribution method you select. Xcode archives allow you to build your application and store it, along with critical debugging information, in a bundle that’s managed by Xcode.
Important: Save the archive for every version of an application you distribute. You need the debugging information stored in the archive to decipher crash reports later.
To create an archive
Xcode runs preliminary validation tests on the archive and may display a validate warning in the project editor. For example, if you don’t set required application icons, as described in , an Info.plist warning message appears. If you see this warning, fix the issue and create the archive again.
Creating an iOS App File
You create an iOS App file so that users can install your application on their device. You generate an iOS App file (a file with a .ipa filename extension) from the archive. Xcode automatically creates the necessary distribution certificates and provisioning profiles for you when you export the application.
To create an iOS App file for distribution
Learn More About Server Tools
Take advantage of Xcode server tools that support large software development teams.
To learn about | Read |
Continuous integration Use Xcode service running on OS X Server to automate building, analyzing, testing, and archiving your application. |
|
Automated testing Set up tests that can be run by Xcode service. |
|
Host source control repositories on servers Use Xcode service to connect to remote repositories. |
|
Recap
In this chapter, you learned a variation of the development and distribution steps for iOS Developer Enterprise Program members. You learned how to build your team, create shared team assets, export your app for testing, and later, export your app for distribution outside the App Store.
转载地址:http://zxebi.baihongyu.com/