O'Reilly logo

Xcode® 4 Unleashed, Second Edition by Frederic F. Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required