Xcode
Apple’s toolchain: without it nothing Swift, iOS or macOS builds at all, and nothing native for an Apple platform ships.
What it does
Xcode bundles the Swift and Clang compilers, the iOS/macOS/watchOS/tvOS/visionOS SDKs, Interface Builder, the simulator runtimes, Instruments for profiling, and the signing and archiving machinery that produces an App Store build.
Much of it is usable without ever opening the app. xcodebuild, xcrun, simctl and swift come from the same install and are what CI and most automation actually call.
Notes
- A full install is tens of gigabytes; the simulator runtimes are the bulk of it and can be pruned from Settings → Components.
sudo xcode-select --switch /Applications/Xcode.apppoints the command-line tools at a specific install when more than one is present.- The standalone Command Line Tools package is enough for Homebrew and
git, but not for building apps.
Alternative to
| Alternative | Type | Trade-off |
|---|---|---|
| Nothing | — | For building and signing Apple platform apps. The SDKs, simulators, signing tools and Interface Builder ship only here. |
| VS Code or Cursor with sourcekit-lsp | Free / Freemium | A pleasant editor for Swift, still calling xcodebuild underneath |
| Xcodes.app | Open source | Manages multiple Xcode versions side by side rather than replacing it |