[MacPorts] #64281: freac @1.1.4: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

MacPorts noreply at macports.org
Wed Dec 29 21:22:08 UTC 2021


#64281: freac @1.1.4: xcode-select: error: tool 'xcodebuild' requires Xcode, but
active developer directory '/Library/Developer/CommandLineTools' is a
command line tools instance
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  janosch
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:  haspatch
      Port:  freac       |
-------------------------+----------------------
Changes (by ryandesign):

 * keywords:   => haspatch


Comment:

 The developer pointed out that although it is running `xcodebuild` to set
 some variables, it doesn't use those variables unless a "release" build is
 being done, which it isn't by default and which it's not recommended for
 us to do. The developer fixed it to only run `xcodebuild` for release
 builds, and I've backported that patch as part of
 https://github.com/macports/macports-ports/pull/13522.

-- 
Ticket URL: <https://trac.macports.org/ticket/64281#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list