[MacPorts] #59374: py37-pyobjc 5.2 on Mojave with Xcode 11.1: xcode-select: error: tool 'xcodebuild' requires Xcode

MacPorts noreply at macports.org
Fri Oct 18 06:34:41 UTC 2019


#59374: py37-pyobjc 5.2 on Mojave with Xcode 11.1: xcode-select: error: tool
'xcodebuild' requires Xcode
--------------------------+--------------------
  Reporter:  d0wntime     |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.1
Resolution:               |   Keywords:
      Port:  py37-pyobjc  |
--------------------------+--------------------

Old description:

> The build is throwing the error ...
>
> xcode-select: error: tool 'xcodebuild' requires Xcode, but active
> developer directory '/Library/Developer/CommandLineTools' is a command
> line tools instance
>
> ... and the build appears to be choosing this directory; "xcode-select
> -p" returns "/Applications/Xcode.app/Contents/Developer"

New description:

 The build is throwing the error ...

 {{{
 xcode-select: error: tool 'xcodebuild' requires Xcode, but active
 developer directory '/Library/Developer/CommandLineTools' is a command
 line tools instance
 }}}

 ... and the build appears to be choosing this directory; "xcode-select -p"
 returns "/Applications/Xcode.app/Contents/Developer"

--

Comment (by ryandesign):

 Does adding `use_xcode yes` to the Portfile help?

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


More information about the macports-tickets mailing list