Skip to content

Xcode

Apple’s toolchain: without it nothing Swift, iOS or macOS builds at all, and nothing native for an Apple platform ships.

Mac App Store Direct download

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.app points 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

AlternativeTypeTrade-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-lspFree / FreemiumA pleasant editor for Swift, still calling xcodebuild underneath
Xcodes.appOpen sourceManages multiple Xcode versions side by side rather than replacing it

Install

Xcode on the Mac App Store

Or with mas:

mas install 497799835

Links

This post is licensed under CC BY 4.0 by the author.
Last updated on