Search code examples
xcodexcode4macportsosx-lion

MacPorts-2.0.0 can’t be installed on this computer


When I try to install macports on Lion I get the following message:

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.

Even though I have installed Xcode after upgrading to Lion thru the app store.

Any idea what it is I need to do?


Solution

  • When you get Xcode 4.1 through the App Store, it only downloads the installer for Xcode. You then need to run the installer. Look in the system Applications folder for the installer.