archive_project
Archives the active Xcode project into an .xcarchive file for distribution, using a specified scheme and configuration.
Instructions
Archives the active Xcode project for distribution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | The scheme to archive. Must be one of the schemes available in the project. | |
| archivePath | Yes | Path where the .xcarchive file will be saved. | |
| destination | No | Optional destination specifier (e.g., 'generic/platform=iOS'). If not provided, uses the default destination for the scheme. | |
| configuration | Yes | Build configuration to use (e.g., 'Debug' or 'Release'). | |
| exportOptionsPlist | No | Optional path to an export options property list file for subsequent export operations. |