Sharing macOS and Xcode versions across Xcode Cloud workflows
Use custom aliases to share configurations with multiple workflows.
Overview
Custom aliases let you set up and manage common Xcode and macOS configurations that you can apply to multiple workflows. For example, create custom aliases to change Xcode versions for multiple workflows in one place. You can manage custom aliases in Xcode and in App Store Connect.
Before you begin, configure your project to use Xcode Cloud and create two or more workflows to share custom aliases with.
Manage custom aliases in Xcode
To create custom aliases in Xcode:
Open your project, click the Report navigator button in the navigator bar, and then click the Cloud button.
In the sidebar, Control-click your project name and choose Manage Custom Aliases from the pop-up menu.
In the lower-left corner of the sheet, click the Add button (+) and choose a configuration for the alias (either macOS or Xcode) from the pop-up menu that appears.
In the sheet that appears, enter a name for the alias, and choose the macOS or Xcode version from the Version menu to associate the alias with.
To restrict editing of the alias to team roles, select the Only the Account Holder checkbox in the Restrict Editing section.
Click Save and then click Done in the Custom Aliases sheet.
To quickly modify aliases in the Custom Aliases sheet before you dismiss it, Control-click the alias and choose Edit or Delete from the pop-up menu. To change permissions, choose either Restrict Editing or Remove Restrictions from the menu.
To apply custom aliases to workflows in Xcode:
In the Report navigator, Control-click your project name and choose Manage Workflows from the pop-up menu.
In the detail area of the sheet, Control-click the workflow you want to apply custom aliases to, and then choose Edit from the pop-up menu.
In the sidebar of the sheet that appears, click Environment.
From either the Xcode Version or the macOS Version pop-up menu, choose your custom alias.
Click Save.
To create another custom alias, choose New [Xcode | macOS] Version Alias or Manage Custom Aliases from the Version pop-up menu in the Environment sheet.
Manage custom aliases in App Store Connect
You can also apply custom aliases to workflows in App Store Connect with the following steps:
Sign in to your App Store Connect account and go to your app’s page.
Click the Xcode Cloud tab.
In the sidebar, click Settings.
Click the Custom Aliases tab.
Next to Custom Aliases, click the Add button and choose a configuration for the alias (either macOS or Xcode) from the pop-up menu that appears.
Enter a name for the alias, and choose the macOS or Xcode version to associate the alias with from the Version menu.
To restrict editing of the alias to team roles, select the Only the Account Holder checkbox.
To edit or delete custom aliases, click More (…) next to the alias and choose Edit or Delete from the pop-up menu.
To apply custom aliases to a workflow in App Store Connect:
On the Xcode Cloud page for your app, click Manage Workflows in the sidebar.
Select the workflow to apply the custom alias to.
From either the Xcode Version or the macOS Version pop-up menu, choose your custom alias.
Click Save.
See Also
Setup and maintenance
Making dependencies available to Xcode CloudConfiguring Xcode Cloud for your teamSharing environment variables across Xcode Cloud workflowsBuilding Swift packages and Swift Playgrounds app projects with Xcode CloudSetting the next build number for Xcode Cloud buildsIncluding notes for testers with a beta release of your appRemoving your project from Xcode CloudChanging the bundle identifier