You can restore old GCC, SDK support for Xcode 4

Oh, cool: one can hack, and restore old SDK (and GCC) support in Xcode 4!

And also install Xcode 3 on Mac OS X 10.7, Lion.

I have not yet checked how well that works, though.

Updated: hack-installed Xcode 3.2.6 appears to (mostly) work on Mac OS X 10.7 (Lion), e.g. Xcode itself and the Interface Builder do work, Dashcode, however, fails to lunch due to some missing Framework symbol (_dispatch_get_concurrent_queue expected in /usr/lib/libSystem.B.dylib).

Update 2: As the link went dark, here is an archived full quote:

In looking through the isDevToolsCompatible function again, I noticed that it would return true if the COMMAND_LINE_INSTALL environment variable was set no matter what version Mac OS X you are running.

It’s now possible to greatly simplify the installation process:

  • Mount the Xcode 3.2.6 DMG
  • Open Terminal
  • Enter the commands:
    export COMMAND_LINE_INSTALL=1 open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"

The open command will launch the installer app and allow you to install Xcode

Leave a Reply

You must be logged in to post a comment.