05XC-Using-Xcode

05XC-Using-Xcode - CS106X Winter 2008 Handout 05 Using...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CS106X Handout 05 Winter 2008 January 11, 2008 Using Xcode This handout was written by Julie Zelenski and Jason Turner-Maier. In CS106X, you have the option of writing your programs on the Mac or PC. For the Macintosh environment, you will write your programs using a C++ compiler by Apple called Xcode. Our CS106 libraries were developed and tested on Xcode version 2.5 which is available for free download from Apple’s developer site. Xcode 2.5 requires Mac OS X 1.4 (Tiger) or newer . The libraries also work on Xcode 3.0 for Max OS X 1.5 (Leopard). You can also use Xcode on the Mac OS computers in the public clusters on campus. Please see the next section for instructions on how to do this. Using Xcode at a cluster Xcode is available for use in the Lair (the Tresidder Macintosh cluster), on the Macs in Meyer library, and in the residential computer clusters. The 106 libraries will already be loaded on them, so you should be able to just open Xcode and proceed from “Creating the add2 project” section. Downloading your own copy of Xcode from the Web First, note that most versions of Mac OS X come with Xcode preinstalled. However, you should check the version of Xcode you have. The easiest way to do this is to first open the application. Then, from the Xcode menu, select “About Xcode”. The window that opens should say what version you have. If it is version 2.5 or later, you have the correct version. If not, use the following directions to download the most recent version. Use your web browser to connect to http://developer.apple.com/tools/Xcode . Click on the Tools Download link. Then, if you have Mac OS X 10.4 (Tiger), click on the "Xcode 2.5 (DMG)" link. If you have Max OS X 10.5 (Leopard), click on the "Xcode 3.0 (DMG)" link. At this point, if you do
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
not have one, you will need to create an Apple account. However, creating an account is free, so go ahead and make one. Click on the Xcode 2.5 / Xcode 3.0 (Disk Image). This will begin the download. Once the download is finished, there should be a drive called "Xcode Tools" loaded. If not, double click on the downloaded file, "Xcode_2.5.1_8m1910_6936315.dmg" (it may not be called exactly this; don’t worry if it isn’t). Inside the “Xcode Tools” drive, double click on "XcodeTools.mpkg". This will open an installer for Xcode. Follow the instructions in the installer, and when you are finished Xcode will be installed. Downloading and Installing the CS106 Libraries
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 7

05XC-Using-Xcode - CS106X Winter 2008 Handout 05 Using...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online