iOS Build Configuration #
This document describes how to configure the build of an iOS service in BuildPiper. The build configuration is defined in App Packaging for each Service Environment, and determines how BuildPiper retrieves the source code, builds the application and stores the resulting artifact.
The configuration consists of two parts: the repository and build settings, and the export and deployment settings for the App Store.
1. Configure the Repository and Build Settings #
- 1
Click Application and open Service Overview.
- 2
Open the iOS service.
- 3
Select the environment.
- 4
Click App Packaging.
- 5
Click Configure.
- 1
In Please Select the Git URL, select an onboarded repository.
- 2
Click Load Branches and select the Branch.
- 3
Enter the Scheme and the Xcode Workspace value.
- 4
Set the Artifact Path to the output location that the build and push workflow expects.
- 5
Configure Hybrid App / React Native when your project needs it, and enter the Node Version when it is shown.
- 6
Complete the deployment settings described in section 2, and then click Submit.

Figure 1: iOS App Packaging form
| Field | Description |
|---|---|
| Please Select the Git URL | The onboarded repository that contains the iOS project. |
| Load Branches / Select Branch | Click Load Branches to retrieve the available branches from the Git repository, and then select the branch that is used for the build, for example dev-test. |
| Scheme | The Xcode scheme that is used to build and archive the iOS application, for example MyIOSAppScheme. To find it in Xcode, open Product → Scheme → Manage Schemes. Make sure that the scheme is shared and committed to the repository. |
| Xcode Workspace | The .xcodeproj or .xcworkspace file that is used to build the application, for example MyIOSApp.xcworkspace. The file is located in the root or the ios directory of the project. If the project uses CocoaPods, select the .xcworkspace file. |
| Artifact Path | The directory path where BuildPiper saves the generated binary (.ipa) after a successful build, for example build/Build/Products/Release-iphoneos/MyIOSApp.ipa. |
| Hybrid App / React Native | Enable this option if the application is built with React Native. Leave it disabled for native iOS applications that are developed with Swift or Objective-C. |
| Node Version | The Node.js version that the project requires. This field is shown when Hybrid App / React Native is enabled. |
2. Configure the Export and Deployment Destination #
Enable Deploy to App Store when the workflow must deploy to App Store Connect. Confirm that the Application Environment already has the App Store JSON and signing credentials selected.
- 1
Select the Export Method.
- 2
Select the destination Track that the form offers.
- 3
Select the Provisioning Profile that is associated with the iOS signing credential.
- 4
Click Submit and review the saved configuration for the service and environment.
| Field | Description |
|---|---|
| Deploy to App Store | Enable this option to deploy the build directly to the App Store or TestFlight. |
| Export Method | Defines how the iOS application is signed and exported. Select App Store for App Store Connect or TestFlight, Ad Hoc for registered test devices, Development for development builds, or Enterprise for in-house distribution. The selected method must match the provisioning profile. |
| Select Track | The destination of the exported build. TestFlight uploads the build for beta testing, Production uploads it for App Store distribution, and Internal is used for organisation-specific distribution. |
| Provisioning Profile | The saved iOS signing credential that contains the provisioning profile and the certificate that are required to sign the app. The profile must match the Bundle ID of the app, the Apple Team, the selected export method and the intended distribution track. |
Note: Uploading a build to the Production track does not automatically submit the app for App Review. Complete the review and release steps in App Store Connect.
Saved configuration check: Before you trigger a build, verify the repository, branch, scheme, project path, artifact path, export method, track, profile and selected environment.
Read more: iOS Actions