Xcode

Home page Models Systems Tools IT staff References

Installing Xcode Using Xcode

Xcode is Apple's software development system for Macs and iOS (the iPhone operating system). It only runs on Macs. It includes Apple's version of g++ and the subversion command line client. To install or upgrade g++ on a Mac, install or upgrade Xcode.

This is the Xcode web site.

Installing Xcode

Xcode is sometimes already installed. Macs in the Linderman lab are set up in a standard format, which includes Xcode, by the Chemical Engineering dept. system administrators.

There are 2 ways to install or upgrade Xcode, using the App Store or using the Apple Mac Developer Connection. The process is the same regardless of which application is being installed or upgraded, Xcode or any other application.

For Mac OS/X Mountain Lion (10.8), Xcode is availabe at no charge via the App Store. Currently this requires both an Apple ID and an iTunes account. The iTunes account requires a credit card number, even though Xcode is free.

Once Xcode is installed g++ and svn are not installed yet. To install them requires installing the Xcode command line tools. Start Xcode and go to Xcode | Preferences, click the Downloads button (in the button bar at the top of the window). Select Command Line Tools from the list displayed and click install.

Using Xcode

Xcode is an integrated development environment, so it has the sort of features one would expect. Mostly we use it as an editor. Opening a C++ source file (ex. double clicking it in the Mac Finder) brings up that file in an Xcode window.