无法在此计算机上安装MacPorts-2.0.0

zta*_*tic 7 xcode macports xcode4 osx-lion

当我尝试在Lion上安装macports时,我收到以下消息:

MacPorts-2.0.0 can’t be installed on this computer.
Xcode is not installed, or was installed with UNIX Development (10.5+) or Command Line Support (10.4) deselected.
Run Code Online (Sandbox Code Playgroud)

即使我通过应用商店升级到Lion后安装了Xcode.

知道我需要做什么吗?

Ned*_*ily 9

当您通过App Store获取Xcode 4.1时,它只会下载Xcode的安装程序.然后,您需要运行安装程序.在系统的Ap​​plications文件夹中查找安装程序.