A CLI for Xcode Cloud
brew install finnvoor/tools/xcc
mint install finnvoor/xcc
Download the latest release from releases.
xcc
requires an API key from App Store Connect. Visit https://appstoreconnect.apple.com/access/api, create an API key with the "Developer" role, and either:
- Pass the Issuer ID, Private Key ID, and Private Key to
xcc
as flags:xcc --issuer-id <issuer-id> --private-key-id <private-key-id> --private-key <private-key>
- Set the Issuer ID, Private Key ID, and Private Key as env variables:
export XCC_ISSUER_ID=<issuer-id> export XCC_PRIVATE_KEY_ID=<private-key-id> export XCC_PRIVATE_KEY=<private-key>
Running xcc
will prompt you to select a product, workflow, and git reference. You can also pass the product, workflow, and reference using the --product
, --workflow
, and --reference
flags.
xcc --product "Detail Duo" --workflow TestFlight --reference main