[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
Mon Jan 3 10:19:32 UTC 2022
#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: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: fixed | Keywords: haspatch
Port: freac |
-------------------------+----------------------
Changes (by ryandesign):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"e9902fe41f4cb3b468ac80c3f5da6a585fbb71e3/macports-ports"
e9902fe41f4cb3b468ac80c3f5da6a585fbb71e3/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="e9902fe41f4cb3b468ac80c3f5da6a585fbb71e3"
freac: Don't invoke xcodebuild
The build system only uses xcodebuild to determine the Xcode version
on the basis of which it decides what flags to use during a release
build but we are not doing a release build.
xcodebuild requires Xcode and MacPorts hides Xcode from the build system
because the port does not specify "use_xcode yes" so the build log is
otherwise filled with errors about xcodebuild not being able to run and
subsequent script errors from the build system which did not expect
that to occur.
Closes: https://trac.macports.org/ticket/64281
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64281#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list