build_and_archive
Build and archive an iOS app from an Xcode project, then export a signed .ipa using xcodebuild. Provide a scheme and ExportOptions.plist to produce an App Store Connect-ready build.
Instructions
Build, archive, and export a signed .ipa via xcodebuild (requires Xcode on this Mac). Needs a scheme and an ExportOptions.plist. Pro feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | Xcode scheme to build | |
| workspace | No | Set true if project_path is a .xcworkspace | |
| output_dir | No | Output directory (default ./build) | |
| project_path | Yes | Path to .xcodeproj or .xcworkspace | |
| configuration | No | Build configuration (default Release) | |
| export_options_plist | Yes | Path to ExportOptions.plist (method app-store-connect) |