[MacPorts] #63961: MacVim: fails with "requires a full Xcode installation" although Xcode is installed

MacPorts noreply at macports.org
Tue May 3 18:07:02 UTC 2022


#63961: MacVim: fails with "requires a full Xcode installation" although Xcode is
installed
-------------------------+----------------------
  Reporter:  davidfavor  |      Owner:  raimue
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:
      Port:  MacVim      |
-------------------------+----------------------

Comment (by sstallion):

 It looks like switching back to Xcode clears this issue:
 {{{
 $ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
 }}}
 Once finished, MacVim installs as expected. It could be worth adding
 something to the error message along the lines of:
 {{{
 Error: Port MacVim requires a full Xcode installation, which should be
 installed using
 Error: the Apple App Store. Once installed, the active developer directory
 should be
 Error: set by issuing: sudo xcode-select -s
 /Applications/Xcode.app/Contents/Developer
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port MacVim failed
 }}}

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


More information about the macports-tickets mailing list