Opened 12 years ago

Closed 12 years ago

#38741 closed defect (invalid)

Processing of port *** failed on OS X 10.8 and XCode 4.6.1

Reported by: sandro_msk@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port:

Description (last modified by ci42)

When I try to install somebody port on my MacBook OS X 10.8, XCode 4.6.1 there was terminal output:

MacBook-Pro-a:~ a$ sudo port install Pallet
Password:
Error: 
Error: No valid Xcode installation is properly selected.
Error: Please use xcode-select to select an Xcode installation:
Error: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer # version 4.6.1
Error: 
Error: The installed version of Xcode (2.0orlower) is too old to use on the installed OS version. Version 4.5.2 or later is recommended on Mac OS X 10.8.
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port Pallet failed

Change History (1)

comment:1 Changed 12 years ago by ci42

Description: modified (diff)
Keywords: XCode 4.6.1 removed
Resolution: invalid
Status: newclosed

As shown in the output you need to run:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

And make sure the command line tools are installed. Have a look at ProblemHotlist.

In the future please use WikiFormatting.

Note: See TracTickets for help on using tickets.