Xcode Build System: Everything Everywhere All at Once

Yeskendir Salgara
Kerege
Published in
10 min readJan 9, 2024

--

Curious about what really happens when you hit ‘Build’ in Xcode? This article breaks it down step by step in an easy-to-understand way. I explore each action Xcode takes behind the scenes, using simple explanations.

The overview picture of the Xcode Build System.

Let’s begin at the start.

Xcode

Before we get into the details of Xcode’s Build System tasks, let’s start by understanding the basics of the build process. This will help us grasp the bigger picture.

Xcode IDE has Xcode Command Line Tool, SDKs, etc.

It means you can build an app and run it without using Xcode IDE.

Xcode Workspace

A workspace is an Xcode document that groups projects and other documents so you can work on them together. A workspace can contain any number of Xcode projects, plus any other files you want to include. In addition to organizing all the files in each Xcode project, a workspace provides implicit and explicit relationships among the included projects and their targets. (c) Apple

It can contain many Xcode Projects.

--

--