Skip to content

Latest commit

 

History

History
202 lines (141 loc) · 6.28 KB

itunes_connect.adoc

File metadata and controls

202 lines (141 loc) · 6.28 KB

Deploy to iTunes Connect

Buddybuild can automatically deploy successful builds to iTunes Connect in order to submit your app to TestFlight or the App Store.

Setting up deployments to iTunes Connect

The first step is to connect your Apple Developer Portal account with buddybuild.

Select the Deployments section, then the Deploy to iTunes Connect tab.

The Deployments screen, with the Deploy to iTunes Connect tab selected

Next, connect your Apple Developer Portal account with buddybuild by selecting Connect Your Account.

The Ready to upload to iTunes Connect? screen

Enter your Apple ID and Password, then click Sync credentials.

Warning

This account must have access to iTunes Connect and the Apple Developer Portal.

The Deploy to iTunes Connect dialog

Note

Apple ID with Two-Factor Authentication or Two-Step Verification

If your Apple ID is protected using Two-Factor Authentication or Two-Step Verification, you will need to create an Create an App-Specific Password to deploy your app to iTunes Connect.

If you’re a member of multiple development teams, you’ll be prompted to select the teams you want to connect with.

Once connected, you now have the option of changing the CFBundleVersion Format, and the build number for your next build. You can also choose to leave the default values and click Continue.

The Deploy to iTunes Connect dialog, after authentication

Next, select how often you would like to deploy to iTunes Connect, and from which branch and scheme.

Once you’re done that, select Save Settings.

The Deploy to iTunes Connect dialog, with all settings configured

That’s it! You’re now ready to deploy builds to iTunes Connect. From here, you can now choose to deploy the latest successful build.

The Deploy to iTunes Connect confirmation dialog

Important

Deployments to iTunes Connect may take anywhere from several minutes to several hours before a build appears there. The delay may increase in a variety of situations, including attempts to deploy builds using beta versions of Xcode.

Apple sends you an email once they have completed processing your build.

Deploying automatically to iTunes Connect

You have the ability to automatically deploy to iTunes Connect — either per build or on a set schedule. Here’s how!

First, ensure that you are on the Deployments page, with the Deploy to iTunes Connect tab selected.

The Deployments screen, with the Deploy to iTunes Connect tab selected

Next, select the first dropdown to reveal the deploy schedule options. To automatically deploy to iTunes Connect, select either each build or scheduled.

Note

Each build: automatically deploys to a group after each successful build
Scheduled: automatically deploys to a group at a specific time on selected days of the week.

The Configure Deployments panel, with the deployment frequency dropdown open

Next, select your branch targets by selecting the branch and scheme you would like to automatically deploy from.

The Configure Deployments panel, highlighting the branch and scheme selectors

That’s it! Buddybuild now automatically deploy successful builds to iTunes Connect based on the criteria that you have set.

Deploying manually to iTunes Connect

Note

There are two ways to deploy builds manually to iTunes Connect.

Deploy the latest successful build

Deploying the latest successful build to iTunes Connect is a quick and easy process!

First, ensure that you are on the Deployments page, with the Deploy to iTunes Connect tab selected.

The Deployments screen, with the Deploy to iTunes Connect tab selected

Next, select Deploy latest now. This will take the latest successful build with the configuration you’ve set, and deploy it to iTunes Connect.

The Configure Deployments panel, clicking on the Deploy latest now button

Selecting a specific build to deploy

To select a specific build to deploy to iTunes Connect, lets head over to the Builds page by selecting Builds in the global navigation menu.

The buddybuild dashboard

Next, click on the successful build you want to deploy.

The buddybuild dashboard, clicking on a specific build

First select the scheme tab you want to deploy, then select iTunes Connect.

The build details screen, clicking on the iTunes Connect tab

Warning

To upload this build to iTunes Connect, buddybuild requires a distribution code signing identity

If you have not provided a distribution code signing identity at this point, follow the prompt to do so, then rebuild your app.

Once there, review the build details and select Upload to iTunes Connect.

The build details screen, with the iTunes Connect tab selected

That’s it! Buddybuild now deploys your build to iTunes Connect!