Chapter 26. The Xcode Build System

In This Chapter

• Organizing a build

• Editing and inheriting settings

• Using xcodebuild

• Adding build rules

• Analyzing a build log

If you’re used to building software with UNIX tools such as make, odds are you don’t quite trust IDEs such as Xcode. In a makefile, you can directly set compiler options, even file by file. You can designate build dependencies, so a change to a header file forces recompilations of the implementation files that depend on it—gcc and llvm even have a mode that generates the dependency trees.

At first glance, Xcode doesn’t give you that control. It’s “magic,” and while you’re proud to make magic for your users, you don’t trust it for yourself.

This chapter aims to take some of ...

Get Xcode® 4 Unleashed, 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.