Chapter 12: Working with Builds, Schemes, and Workspaces

So far in this book, builds have been treated as one-click processes, and projects have been treated as stand-alone collections of files.

But it’s a key feature of Xcode that the build process is almost infinitely customizable. Instead of treating the build process as a black box that takes source files and converts them into an app, you can break the build process into steps, change the settings and outputs from each step, or even add completely new steps—for example, to create hybrid projects with code written in other languages.

You also can combine projects and files in various ways to create hybrid builds that share related code; for example, you can develop a framework and a project that tests it or uses it at the same time.

This chapter outlines the key features of the Xcode 5 build system and introduces the editors and options that control the build process.

Chapter 13 introduces some practical examples of build customization and explores more advanced build control options.

Getting Started with the Xcode Build System

Although you can use the build system in a simple one-click way, the underlying technology is powerful, but complex. The default one-click option deliberately hides the complexity, but you must be familiar with ...

Get Xcode 5 Developer Reference 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.