Chapter 13. The Build System

Xcode 4 offers for its build system a powerful user interface that de-emphasizes switching between separate build configurations for debug and release and focuses more on what developers spend most of their time doing within the IDE: coding and debugging.

An Overview

Let’s take a brief tour of the terminology before exploring each term in depth. The result of a build is some sort of product—an application, a plug-in, a command-line program, a framework, or a library.


A target describes a product (an application, a plug-in, a library, a unit testing bundle, or an aggregate of other targets) to be built and the instructions for building it. The instructions specify build settings, phases, rules, and source ...

Get Mastering Xcode: Develop and Design, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.