ios_testflight
Archive a scheme and upload the build to App Store Connect for TestFlight, with an App Store Connect API key kept on this Mac (keyId and issuerId; the issuer is remembered after the first upload). An uploaded build cannot be taken back and its build number is used up: confirm with the user first. buildNumber defaults to a UTC timestamp so every upload is new. Runs as a background job and returns its jobId; poll ios_build_status with it.
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. |