macOS and iOS

xcodebuild

xcodebuild is the command-line tool for building, testing, analyzing, and archiving Xcode projects and workspaces. It selects targets through schemes and destinations, making Apple-platform build steps repeatable in shell-based CI workflows.

Why it matters

Command-line builds make Xcode operations repeatable outside an interactive IDE session.

Practical example

Specify a workspace, scheme, and destination rather than depending on a developer machine's defaults.

Related terms

Sources

Definition reviewed .

Start with $10 in free credits

Change the runner label in your workflow and keep the rest of your GitHub Actions setup. Runner time is billed per minute.

← Return to glossary