[MacPorts] #33398: xcodebuild error on fresh MacPorts 2.0.4

MacPorts noreply at macports.org
Wed Mar 21 17:33:52 PDT 2012


#33398: xcodebuild error on fresh MacPorts 2.0.4
-----------------------------------+----------------------------------------
 Reporter:  theboergers@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  base                   |     Version:  2.0.4                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------

Comment(by cal@…):

 This message is only being printed if you have /Applications/Xcode.app and
 are running any of the following commands: fetch, checksum, extract,
 patch, configure, build, test, destroot, install, activate, dmg, mdmg,
 pkg, mpkg, rpm, dpkg and srpm. So e.g. when running `port version`, `port
 outdated`, etc. it will only show the warning about xcodebuild, but not
 the instructions.

 As already mentioned by charliebrown2k it sometimes is necessary to run
 `xcode-select -switch /Applications/Xcode.app/Contents/Developer` rather
 than only `xcode-select -switch /Applications/Xcode.app`. This depends on
 the version of the xcode-select tool you have installed and is fixed with
 a newer version that should have been installed with the 10.7.3 combo
 update (but sometimes apparently wasn't).

-- 
Ticket URL: <https://trac.macports.org/ticket/33398#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list