[MacPorts] #64713: qscintilla-qt5: xcrun: error: SDK "macosx11" cannot be located

MacPorts noreply at macports.org
Mon Mar 28 22:32:19 UTC 2022


#64713: qscintilla-qt5: xcrun: error: SDK "macosx11" cannot be located
-----------------------------+-----------------------
  Reporter:  pcmock          |      Owner:  michaelld
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  qscintilla-qt5  |
-----------------------------+-----------------------

Comment (by chrstphrchvz):

 I wonder if the `use_xcode yes` workaround (or `if {${xcodeversion} ne
 "none"} {use_xcode yes}` if command line tools are sufficient) applies to
 this issue as well.

 If so, then it seems that however Qt/Qmake are doing SDK detection assumes
 the Xcode SDK rather than the CLT SDK is used if Xcode is installed (and
 used by `xcrun`), but MacPorts is trying to have ports use the CLT SDK
 whenever Xcode isn’t requested (with `use_xcode yes`).

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


More information about the macports-tickets mailing list