ios_archive
Archive a scheme for devices (an .xcarchive) on this Mac, signed with the project's signing settings. Runs as a background job and returns its jobId; poll ios_build_status with it. Nothing is uploaded; ios_testflight archives and uploads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | No | App Store Connect API key ID; the key file stays in ~/.appstoreconnect/private_keys. With it, Xcode may update signing profiles | |
| scheme | Yes | ||
| teamId | No | Apple Developer team ID for signing, when the project has none (DEVELOPMENT_TEAM) | |
| project | Yes | .xcodeproj or .xcworkspace path from ios_projects | |
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| issuerId | No | App Store Connect issuer ID; remembered on this Mac after the first TestFlight upload | |
| buildNumber | No | Sets CURRENT_PROJECT_VERSION | |
| configuration | No | ||
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |