How to install Xcode 3.2.x on Lion?

2019-04-12 12:28发布

问题:

I have tried to install Xcode 3.2.x on Lion using two methods below, but both failed. Did anyone succeed with that two methods?

Method 1:

  1. right click on "Xcode and iOS SDK.mpkg" and choose show package content;
  2. modify the Contents/iPhoneSDKSL.dist to replace "10.7" with "10.8" in it;
  3. install.

Method 2:

  1. open the terminal;
  2. export COMMAND_LINE_INSTALL=1;
  3. open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"
  4. uncheck all but the first one that include sdk and ide to install.

Besides, I also tried to use both two methods together, but failed again.

Any help?

回答1:

Actually I'm not sure if you can do this. Because Xcode 3 it's too old for Lion. But there might be some kind of hack.



回答2:

Try to set system clock back in time. It failed for me because of old certificate. I used 6th of May 2011