This application will only run on Snow Leopard; it uses SL-only APIs. Because of this, I’ve not made the source code available, although I will once Snow Leopard is released to the general public (it’s tiny).
Download the zip file, unzip it, and run the enclosed terminal application using sudo like so:
> sudo ./iphone-legacy-fix [path-to-devtools]
If you’ve installed your development tools in the standard location, you’ll pass ‘/Developer’ there.
Note that, at present, this only creates the i686-apple-darwin10 symlink, which is only necessary for Simulator SDKs (the device SDK uses darwin9 already). This is everything you’ll need out of the box to compile, but if you want to be able to use GCC 4.2 (the ‘system default’ for Simulator 2.x is 4.0) you’ll need to copy across the gcc 4.2.1 subfolders from your 3.0 simulator SDK ({$SDKROOT}/usr/lib/gcc/i686-apple-darwin9/4.2.1).