What needs a Mac
- The first setup. Connecting the project to Xcode Cloud, granting access to your Git provider and starting the first build happen in Xcode.
- Fixing a build that fails only in Xcode Cloud. You read the logs in App Store Connect, but reproducing the failure, changing build settings, schemes or
ci_scripts, and checking the fix usually means running the samexcodebuildsteps on a Mac.
What works without a Mac, after the first build
- App Store Connect on the web. Create, edit and start workflows, read build logs and test results, and download artifacts.
- The App Store Connect API. The Xcode Cloud workflows and builds resources let you read products, workflows and builds, create workflows (
POST /v1/ciWorkflows) and start builds (POST /v1/ciBuildRuns) from any system, with a JWT signed by your API key. - Git pushes and pull requests. Workflows with a branch or pull request start condition run on every push, so day-to-day work only needs Git.
Compute hours
Apple Developer Program membership includes 25 compute hours a month, and Apple sells monthly plans for more. See Apple’s Xcode Cloud overview for current plans.If you have no Mac for the first step
You need macOS once, for about the length of a first build. Options:- Borrow a Mac for the setup, then work from App Store Connect and Git.
- Use a different CI service that does not need a local Mac to set up, such as GitHub Actions macOS runners. See Xcode Cloud alternative for iOS builds.
- Use box.
box execruns commands on a real Mac from Windows or Linux, andbox buildbuilds your project there. box does not open the Xcode user interface, so it can’t do the Xcode Cloud setup itself; it covers the build and test steps instead of Xcode Cloud. See Build and Exec.