Information Technology Reference
In-Depth Information
Xcode makes a distinction between project and target build settings. In Xcode, a target is a set of instructions for
building a single binary. A project is a file container that supplies build defaults and also holds the files that can
be compiled into binaries. For example, a universal iPad/iPhone project has two targets—one for each platform.
A Mac OS X project might create an app and a framework as separate targets.
Project settings are useful defaults for every possible target. Figure 4.23 shows an example of project build set-
tings. You can view this editor by selecting a project in the Project Navigator and clicking the PROJECT icon in
the gutter area.
Looking at target build settings
Target settings can override the project defaults. They also define extra runtime details for the target, including
icon files, plists (property lists), and other specialized features used to create one particular binary. These set-
tings also define some of the possible interfaces between applications. For example, on the iPhone, you can use
them to define a URL scheme— an inter-application interface—that allows other apps to launch and run your
app and to pass it data. Figure 4.24 shows some of the target settings.
As with the project build settings, you can leave most of the target build settings unchanged. A handful are crit-
ical and are described below and in Chapters 12 and 13. Most can be left as defaults.
FIGURE 4.23
Look again at project build settings; there's so much to see here, but you can leave most of it unchanged.
CAUTION
Search WWH ::




Custom Search