05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

448<br />

CHAPTER 25 MAC <strong>OS</strong> X DEVELOPMENT: THE TOOLS<br />

NOTE Professional software developers need more support and things like prerelease software.<br />

For them, Apple offers Select and Premier ADC memberships for a price. For our<br />

purposes, the free online membership is sufficient, but if you decide to make your living this<br />

way, it’s well worth the cost of upgrading.<br />

Installing Xcode Tools<br />

To install the developer tools, known collectively as Xcode Tools, insert your <strong>Leopard</strong> installation<br />

DVD. It doesn’t matter if it’s the retail upgrade version or the restore version that came with<br />

your machine. Navigate to the Xcode Tools folder, and then double-click the XcodeTools.mpkg<br />

package. This will launch the installer. There’s nothing unusual here, but don’t overlook the easily<br />

missed Customize button.<br />

Several optional installs are selected by default. Disclosing the Xcode IDE and Tools section<br />

reveals the Core Reference Library and Examples, which are good to have around, but Dashcode<br />

and Java Documentation are completely unnecessary unless you’re planning on developing<br />

Dashboard widgets or Java applications, respectively.<br />

NOTE If you decide later you should have installed a tool, don’t worry. You can run the<br />

installer again to add additional components.<br />

The Xcode System Tools section is a bit more esoteric. The Distributed Builds Engine lets<br />

you create an ad hoc supercomputer to do your compiles. That’s nice if you’re a developer working<br />

on a huge project and your computer is connected to a network of machines that are also<br />

participating. For mere mortals, you should probably take a pass.<br />

Analysis & Performance Tools and Command Line Support are always good to have<br />

around, but <strong>Mac</strong> <strong>OS</strong> X 10.3.9 Support and WebObjects should rightly remain unchecked, unless<br />

you specifically need them.<br />

Speaking of <strong>Mac</strong> <strong>OS</strong> X 10.3.9 support, it bears note that if you’re still writing pre-<strong>Leopard</strong><br />

applications, you have another option. The latest versions of Xcode and its older brother, Interface<br />

Builder, are partially incompatible with, and therefore designed to run side by side with their<br />

previous versions. These are not included with <strong>Leopard</strong>, however, so if you need them, you’ll<br />

have to dig out your Tiger disks.<br />

Traditionally, developer tools went into the /Developer directory, right off of root, and adjacent<br />

to the /Applications directory. Furthermore, Xcode could only be installed on the boot disk,<br />

much to the chagrin of those reliant on external drives, multiple partitions, or networked storage.<br />

<strong>Leopard</strong> introduces the ability to choose your own installation destination, but unless you<br />

have some special need that’s not being met by a root-level directory, you’ll do well to stick to the<br />

default.<br />

Once you’ve got everything configured, click Install, authenticate if prompted, and then go<br />

to lunch.<br />

NOTE No discs, no problem. You can always download the latest versions of the developer<br />

tools from the ADC web site.<br />

Introduction to Xcode<br />

Surfing into the newly minted Developer directory reveals a whole hierarchy of goodies, but with<br />

the possible exception of some reading material (About Xcode Tools.pdf), nothing in here is for

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!