Information Technology Reference
In-Depth Information
The symbolic link system may seem counterintuitive, but it makes it possible to add files to a project without
copying them. For example, you can create a library or framework in a folder on disk, and import it into vari-
ous projects as a collection of symbolic links that access the original files in their original source folder. Simil-
arly, you can keep image files or fonts in a single folder and import them via links into multiple projects without
having to create multiple copies.
CROSS-REFERENCE
For more information about using the Project navigator and the other new navigators in Xcode 4, see Chapter 4.
The other key element to notice in Figure 3.6 is the Scheme/Destination menu near the top left. The Destination
sets the platform—for example, the Simulator, or a hardware device for iOS, and either a 32-bit or 64-bit envir-
onment for OS X. Schemes manage the internal features of the build process. They're introduced in Chapters 12
and 13.
You can't test apps on a hardware device until you follow the provisioning steps described in Chapter 11. So for
now, use this menu to select the Simulator, as shown in Figure 3.6.
You can now click the Run button at the top left of Xcode to build and run your skeleton app. Xcode takes a
while to pre-compile the project's headers, build the app, and load it into the Simulator. The first time you
build an app or an application for a new target, the build and install process takes some time because Xcode
must perform various one-time operations to complete the build. Subsequent builds happen more quickly, be-
cause Xcode has much less work to do. Builds also take time to install, so the first time you run an app in the
Search WWH ::




Custom Search