[MacPorts] #64713: qscintilla-qt5: xcrun: error: SDK "macosx11" cannot be located
MacPorts
noreply at macports.org
Fri Aug 19 15:00:04 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 kencu):
I'm not sure how we can reliably get around this issue with all the ports
that use xcrun without requiring xcode.
If I have analyzed it correctly, issue seems to be that xcrun will not
work properly on newer systems if the user has xcode installed but
macports sets the DEVELOPER_DIR to the CLTs (as it does by default).
If the user does not have xcode installed, I think it works fine, and
xcode is not actually needed, though. (You can test this by moving your
Xcode.app to Xcode-somethingelse.app and retrying the build without adding
"use_xcode yes").
So if that turns out to be true, xcode is really not needed, we just need
to sort out how to set DEVELOPER_DIR in base properly. It may be too hard
/ too much trouble to go through all those proper steps, though --
assuming that analysis turns out to be right.
--
Ticket URL: <https://trac.macports.org/ticket/64713#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list