SOLVED: How to install XCode 3.2.6 on Lion?

Discussion in 'Mac Programming' started by chrono1081, Dec 10, 2011.

  1. chrono1081 macrumors 604


    Jan 26, 2008
    Isla Nublar
    Hi guys,

    I need to install Xcode 3.2.6 on Lion (I know its unsupported) because I can't write Maya plugins in Xcode 4 (Or at least I haven't found a way to get a project to build).

    I already followed this link but it seems the instructions are incomplete (or beyond my understanding)

    I follow the instructions but the Xcode Toolset is still greyed out.

    When I follow the instructions on the link I get what looks like a prompt, should I enter something at the prompt?

    MacBook-Air:~ Scott$ export COMMAND_LINE_INSTALL=1
    MacBook-Air:~ Scott$ open "/Volumes/Xcode and iOS SDK/XCode and iOS SDK.mpkg
    > <---That is the prompt I'm talking about

    Has anyone done this successfully? If so can you please let me know where I am going wrong? Thank you :)
  2. foidulus macrumors 6502a

    Jan 15, 2007
    You are missing a terminating quotation mark, they always have to come in pairs!

    open "/Volumes/Xcode and iOS SDK/XCode and iOS SDK.mpkg"
  3. chrono1081 thread starter macrumors 604


    Jan 26, 2008
    Isla Nublar
    Gah! I can't believe I missed that! It worked perfectly thanks so much :)
  4. jw2002, Jan 16, 2012
    Last edited: Jan 16, 2012

    jw2002 macrumors 6502

    Feb 23, 2008
    This is not working for me. I have Lion 10.7.2 and Xcode 3.2.2 on already from the Snow Leopard days. Anyways, I go through the command line steps exactly as outlined, the installer opens, and once I get to the window with the Install button (this window also has change install location button), the button goes gray for a second and turns black. And the log file /var/log/install.log is chock full of errors:

    Fixed it!
    I had iTunes open which was causing the silent fail. So I quit the installer and iTunes and redid the steps. Install is underway.

Share This Page