Installing Xcode 3.2.6 On Lion Redux

原文地址:http://anatomicwax.tumblr.com/post/8064949186/installing-xcode-3-2-6-on-lion-redux


In my last post I gave a set of simple steps that allowed one to install Xcode 3.2.6 on Lion. 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 3.2.6 on Lion with no package modifications.


The same caveats as my last post apply. Use at your own risk.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章