About App Distribution Workflows

来源:互联网 发布:油汀电热膜哪个好 知乎 编辑:程序博客网 时间:2024/04/30 12:53

https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40012582-CH1-SW1


About App Distribution Workflows

Important: For Xcode 8.0+ documentation, launch Xcode and choose Help > Xcode Help, or go toXcode Help.

This guide contains everything you need to know to distribute an app through the App Store, Apple TV App Store, or Mac App Store.

  • Get step-by-step guidance for enrolling in the Apple Developer Program and building, testing, and submitting your app.

  • Configure services that are available only to apps submitted to the store.

  • Test your app on multiple devices and system versions, or offer testers a preview of your next release.

  • Upload metadata about your app so the store can present it to customers.

  • Verify that you’ve prepared your app correctly, upload the build and submit it to the store.

  • Learn how to release and maintain your app after submission.

../Art/1_administration_tasks_2x.png

You perform these tasks using Xcode features and several web tools available only to members of the Apple Developer Program. Before you use certain app services, such as iCloud and Game Center, you must join the Apple Developer Program. Join the Apple Developer Program even if you distribute an app outside of the store so that customers know your app comes from a known source.

You use Xcode to develop Mac, iOS, tvOS, and watchOS apps. Mac apps launch on your development computer running OS X. But iOS, tvOS, and watchOS apps must run on their respective devices or in a simulator on your Mac. For iOS apps, a device is an iPad, iPhone, and iPod touch. For tvOS apps, a device is an Apple TV. For watchOS apps, a device is an iPhone paired with an Apple Watch. Xcode provides simulators for all these types of devices but you’ll need to connect a real device to your Mac to thoroughly test your app.

Note: If you just want to use Xcode to run an app on a device or write code that uses an app service, readApp Distribution Quick Start first and then return to this document for additional tasks you’ll perform throughout the lifetime of your app.

At a Glance

This guide explains how to develop, test, upload, submit, and release your app. By understanding your tools and the distribution process, you’ll be able to get your new app and updates to your customers faster.

Enroll in the Apple Developer Program to Distribute Your App

Joining the Apple Developer Program is the first step to submit your app to App Review, to distribute an iOS in-house app, or to sign an app that you distribute outside the Mac App Store with Developer ID. As a member, you have access to the resources you need to configure app services and to submit new apps and updates.

Related Chapter: Managing Accounts

Add Services to Your App

Apple provides advanced, integrated services for certain types of apps, such as games and Newsstand apps, and for additional sources of revenue, such as In-App Purchase and iAd Network. These app services require additional configuration—both during development and later, when you submit your app to the store. Good examples are Game Center and iCloud. In this guide, you’ll learn how to configure these capabilities for your app.

Related Chapter: Adding Capabilities

Prepare Your App for Distribution

Before you distribute your app for testing or submit it to the store for approval, complete the configuration of your Xcode project. Your final Xcode project should contain required app icons and launch images, and specify which devices and operating systems your app supports.

Related Chapter: Configuring Your Xcode Project for Distribution

Test Apps On Numerous Devices and Releases

Make sure you test your iOS, tvOS, and watchOS app not only in Simulator but on all the devices and releases that your app supports. Testing on more than one kind of device ensures that your app operates exactly as you thought it would, no matter which device it’s running on. After testing an app yourself, distribute a beta release of your app to testers. You can distribute a beta app yourself or use iTunes Connect to manage beta testing. For apps distributed through TestFlight and the store, Apple provides a service that collects and aggregates crash logs that you can download and analyze in Xcode. Crash reports are also available for Mac apps available on the Mac App Store.

Related Chapters: Exporting Your App for Testing (iOS, tvOS, watchOS), Analyzing Crash Reports

Submit and Release Your App on the Store

Submitting your app to the store is a multistep process. First, you sign in to iTunes Connect to create an app record and enter necessary information. If you’re selling your app on the store, you also enter the information for your reimbursement in iTunes Connect. In Xcode, you create an archive and sign it with your distribution certificate. Then you upload your app using Xcode or Application Loader. Use iTunes Connect to submit your app to the store. When your app is approved, use iTunes Connect to release it by setting the date when the app will be available to customers.

Related Chapters: Submitting Your App to the Store, Managing Your App in iTunes Connect, Distributing Apple Developer Enterprise Program Apps, Distributing Apps Outside the Mac App Store

Distribute Your App Outside the Store

Alternatively, join the Apple Developer Enterprise Program and distribute your in-house apps directly to users in your organization. To distribute a Mac app outside of the Mac App Store, create and sign your app with a Developer ID certificate. If you’re distributing your app outside the store, you follow a slightly different process. You don’t have access to iTunes Connect and some app services so can skip those steps.

Related Chapters: Distributing Apple Developer Enterprise Program Apps, Distributing Apps Outside the Mac App Store

Maintain Your Certificates, Identifiers, and Profiles

Apple implements an underlying security model to protect both user data and your app from being modified and distributed without your knowledge. Throughout the development process, you create assets and enter information that Apple uses to identify you, your devices, and your apps. Xcode automatically creates certificates, identifiers, and profiles for you as you need them. Xcode maintains the App IDs and provisioning profiles it creates for you, but not the other assets. During your Apple Developer Program membership, you may maintain various other certificates, identifiers, and profiles yourself.

Related Chapters: Maintaining Your Signing Identities and Certificates, Maintaining Identifiers, Devices, and Profiles

How to Use This Document

How you use this document depends on your role (team agent, admin, or member) in the Apple Developer Program. If you develop Mac apps, your role can be different for the Mac platform than the other platforms. For Mac apps, how you use this document also depends on whether you choose to submit your app to the Mac App Store or distribute it outside of the Mac App Store.

First choose a type of account (individual or organization). If needed, create an Apple ID and join the Apple Developer Program, as described inManaging Accounts. If you enroll in the Apple Developer Program as an individual, you’re the team agent for a one-person team. If you enroll in the Apple Developer Program as an organization, you’re the team agent and can invite other people to join your team, as described inInviting Team Members. You specify whether a person is a team admin, who can perform most of the same tasks as a team agent, or a team member who can’t create assets in their developer account. To learn more about team roles, readAbout Apple Developer Program Team Roles and Privileges.

Then refer to the tables in this section for the tasks you perform depending on your role and Apple Developer Program membership. (Refer to the glossary for the definitions of terms used in this guide.)

If you’re a team agent or admin and want to submit your app to the store:

 

To learn how to

Read

../Art/checkbox_unchecked_2x.png

Add your Apple ID to Xcode

Adding Your Apple ID Account in Xcode

../Art/checkbox_unchecked_2x.png

Set your bundle ID and assign your project to a team

Configuring Identity and Team Settings

Configuring Your Xcode Project for Distribution

../Art/checkbox_unchecked_2x.png

Configure app services

Adding Capabilities

../Art/checkbox_unchecked_2x.png

Launch your app on devices

Launching Your App on Devices

../Art/checkbox_unchecked_2x.png

Perform final configuration steps before distributing your app

Configuring Your Xcode Project for Distribution

../Art/checkbox_unchecked_2x.png

Test your iOS, tvOS, and watchOS app on different devices

Exporting Your App for Testing (iOS, tvOS, watchOS)

../Art/checkbox_unchecked_2x.png

Fix problems during testing

Analyzing Crash Reports

../Art/checkbox_unchecked_2x.png

Upload your app to iTunes Connect for approval

Submitting Your App to the Store

../Art/checkbox_unchecked_2x.png

Release and maintain your app on the store

Managing Your App in iTunes Connect

../Art/checkbox_unchecked_2x.png

Maintain your Apple Developer Program assets

Maintaining Your Signing Identities and Certificates

Maintaining Identifiers, Devices, and Profiles

../Art/checkbox_unchecked_2x.png

Fix issues with your code signing assets

Troubleshooting

If you’re a team agent or admin for an organization:

 

To learn how to

Read

../Art/checkbox_unchecked_2x.png

Add team members and assign roles for organization accounts

Managing Your Developer Account Team

If you’re a team member for an organization who is developing an app for the store:

 

To learn how to

Read

../Art/checkbox_unchecked_2x.png

Add your Apple ID to Xcode

Adding Your Apple ID Account in Xcode

../Art/checkbox_unchecked_2x.png

Set your bundle ID and assign your project to a team

Configuring Identity and Team Settings

Configuring Your Xcode Project for Distribution

../Art/checkbox_unchecked_2x.png

Launch your app on devices

Launching Your App on Devices

../Art/checkbox_unchecked_2x.png

Fix issues with your code signing assets

Troubleshooting

If you’re a team agent or admin in the Apple Developer Enterprise Program:

 

To learn how to

Read

../Art/checkbox_unchecked_2x.png

Manage your certificates and distribute your app

Distributing Apple Developer Enterprise Program Apps

If you’re a team agent and want to distribute your Mac app outside of the Mac App Store:

 

To learn how to

Read

../Art/checkbox_unchecked_2x.png

Perform final configuration steps before distributing your app

Configuring Your Xcode Project for Distribution

../Art/checkbox_unchecked_2x.png

Create a Developer ID-signed app

Distributing Apps Outside the Mac App Store

../Art/checkbox_unchecked_2x.png

Create additional Developer ID certificates

Creating Additional Developer ID Certificates

For Mac apps, if you select None as the distribution method, as described in Choosing a Signing Identity (Mac), you don’t need to read this guide.

See Also

This guide assumes you are already familiar with the software and tools you use to write code. If not, start by reading a number of platform-specific tutorials. Next, read the technology overview documents followed by the appropriate human interface guidelines for your platform, and most important, the guidelines for submitting your app to the store.

 

iOS, tvOS, watchOS

Mac

To get started…

App Distribution Quick Start

App Distribution Quick Start

To learn more about technologies…

iOS Technology Overview

App Programming Guide for iOS

App Programming Guide for tvOS

App Programming Guide for watchOS

Mac Technology Overview

Mac App Programming Guide

To learn about the user interface guidelines…

iOS Human Interface Guidelines

App Store Review Guidelines

Apple TV Human Interface Guidelines

Apple Watch Human Interface Guidelines

macOS Human Interface Guidelines

Mac App Store Review Guidelines

To learn more about tools…

Xcode User Guide

iTunes Connect Developer Guide

Simulator User Guide

Using Application Loader

Xcode User Guide

iTunes Connect Developer Guide

Using Application Loader

To learn about tools for large teams…

Xcode Server and Continuous Integration Guide

Testing with Xcode

Xcode Help

Xcode Server and Continuous Integration Guide

Testing with Xcode

Xcode Help

For more information on the app review process, go to App Review.


0 0
原创粉丝点击