Information Technology Reference
In-Depth Information
In theory, you should uninstall Xcode using an Apple-specified script. Open Terminal, and type the following:
$ sudo /Developer/Library/uninstall-devtools --mode=all
This removes most Xcode files and the /Developer folder. If you have Xcode installed in a different folder, you
can find the script in the corresponding /Library folder.
CAUTION
There's no undo for this operation, and the files aren't moved to the Trash. Once Xcode is removed, it is gone, and
everything in /Developer goes with it.
In practice, you can often drag the /Developer/ Applications folder to the trash, and then install a new ver-
sion of Xcode on top of the remains of the current one. This method isn't foolproof; it can sometimes lead to
duplicated or misplaced frameworks, but it is lazy, quick, and simple. If you haven't customized the other con-
tents of /Developer , you can drag the entire folder to the trash.
Summary
This chapter explored the hardware options you should consider to use Xcode productively, and it introduced
the various Apple Developer Programs for iOS and OS X. It explained how to register as a developer, how to
download Xcode, and how to create both a default install in the standard locations and a custom install in a se-
lected folder or disk partition.
It also examined multi-version installations with simultaneous production and beta development systems, and it
explained how you can remove Xcode from your system if you no longer need it.
Search WWH ::




Custom Search