My Perfect OS X Coldfusion Dev Environment - In the beginning there was Xcode

>> Wednesday, 8 October 2008

As with most things I think it is always a good idea to start from the beginning (well unless you're Quentin Tarantino in which case we'd start about 2/3rds of the way through and hop back and forwards through the story a lot) so starting from the beginning is exactly what I am going to do.

Sitting in front of me is my freshly formatted and re-installed macbook. A lovely blank canvas for us to start working on our masterpiece.

It was installed using a retail dvd version of OS X that installed itself as 10.5.4 and so far the only thing I have done to the machine is run the system updater tool to install every available update that was available. The only update of note is one that upgraded me to 10.5.5. Point releases may not be massively relevant to our cause but just in case they do make some changes that affect some of the bits we'll be working on I am mentioning them here so if you are trying to follow along on a slightly different version of Leopard it may explain if you see something different to me.

I would also like to take this moment to recommend that if you are intending on following this guide that you do a fresh install from a Leopard install disc as I have read reports elsewhere that the upgrade process from Tiger to Leopard leaves some important files in their old position so in theory an upgraded system could differ slightly to a freshly installed one. Just a little caveat there.

Now without further ado let us begin on the journey to turn my diminutive portable pal into a heavyweight CFML development workhorse.

First up on the agenda is to 'finish' the install of leopard by installing the Xcode tools that come bundled on the install disc.

note: if you haven't got an install disc with the xcode tools on you can download the Xcode install dvd image from the apple site [free adc registration required] but be warned they are pretty hefty (1009mb!).

To install from the DVD simply pop the disc into your dvd drive, browse to the disc in the finder (or it may autorun and pop up a new finder window by itself).

You should see a folder called 'optional installs' double click on the folder icon to open it up.

Inside the optional installs folder is another folder called Xcode Tools. Open this one too.

You should now see a number of installers in this folder, we want to install the XCode Tools so double click it.

The installation wizard that appears couldn't be simpler to use, accept the licence agreement, choose the default installation location and away you go. There's quite a lot of bits it needs to install so take this opportunity to grab yourself a lovely cup of tea and a nice bourbon biscuit to help you pass the time, a word of warning though, when dunking in the tea careful not to oversaturate the bourbon or you could end up dropping half of it into the cup and no one likes that do they.

When it's finished you'll get a nice big green tick to tell you everything went a-ok. hit close to exit the installer and you're done.

Now you are probably saying 'why the heck are we even doing this Ciq? what's in it for us?' well you bunch of untrusting so and so's asides from providing a whole raft of pretty damn good development tools for building applications for OS X (something we may explore as this series progresses when we start looking at automation) the Xcode Tools also make sure that you have all those fiddly libraries you might possibly need to compile applications from source and as we progress through the rest of this series you'll soon come to realise when you are compiling something for the umpteenth time that I had your best interests at heart the entire time and then you'll get a lovely warm rush of emotion as you know that someone out there truly cares. how nice of me.

That's all for now if you would like to find out more about the capabilities of Xcode you can do some reading up on it at

Until next time chaps... toodle-pip.


dcolumbus 3 July 2011 at 23:39  

You know, I've come across this post several times now in my search for solution for CFML development with XCode and it seems that the only thing mentioned in this artcile is how to install XCode from the Leopard Disc. Am I missing something?