It is basically the same trick as with Lion, except that it renders your system unbootable. Oops. Be prepared to boot into single-user mode and remove the incompatible kernel extensions.
Note that Interface Builder plugins from iOS platform won’t load, so you can’t use iOS SDK with Xcode 3 anymore.
Make sure you know how to boot into single-user mode (hit Cmd+S on boot).
Save a repair script somewhere (e.g.
fsck -fy mount -uw / rm -rf /System/Library/Extensions/AppleProfileFamily.kext rm -rf /System/Library/Extensions/CHUD*.kext
If Xcode 3 is on a DMG, mount it.
Open Terminal and
cdto whereever the installation package is.
$ cd "/Volumes/Xcode and iOS SDK" $ ls -1 About Xcode and iOS SDK.pdf Packages Xcode and iOS SDK.mpkg
Run the installation package like this:
$ COMMAND_LINE_INSTALL=1 open "Xcode and iOS SDK.mpkg"
Uncheck iOS SDK option, or the Interface Builder will not be able to start.
You get kernel panic and your system won’t boot anymore. Hooray. Turn the power off.
Turn the power back on and hit Cmd+S once gray screen appears, then run the repair script:
# . /Users/my-user-name/repair-script # exit