Chapter 1. Installing Xcode

WHAT'S IN THIS CHAPTER?

  • Installing the Xcode Developer Tools

  • Choosing the install location and packages

  • Upgrading Xcode

  • Removing Xcode

Xcode is part of the Xcode Developer Tools suite developed and distributed by Apple. If you haven't installed it already, read this chapter to find out how to do so. If the tools are already installed, you can skip to the next chapter.

Warning

If you've already installed Xcode, be aware that the default installation choices do not include all Xcode components. Features described in some chapters may require you to reinstall the omitted packages before you can use them. Return to this chapter to reinstall, upgrade, or remove the Xcode Developer Tools in your system.

The Xcode Developer Tools encompass a huge amount of material: dozens of applications, scores of utilities, hundreds of sample projects, and thousands of pages of documentations. Despite its scope, the developer tools team at Apple has made it remarkably easy to install this wealth of tools in only a few minutes.

THE XCODE INSTALLER

To install the Xcode Developer Tools, you must be running Mac OS X and have access to an Xcode Developer Tools installer. At the time this book was published, the current version of Xcode was 3.2, which requires that you be running Mac OS X 10.6 (aka Snow Leopard) or later. This entire book was written with, and assumes you are using, Xcode version 3.2 or later. Although the tools require Mac OS X 10.6 or later to run, you can develop code ...

Get Professional Xcode® 3 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.