[MacPorts] #62816: Buildbot: building XCode project on 10.14.4 fails with: Swift does not support the SDK 'MacOSX10.14.sdk'
MacPorts
noreply at macports.org
Wed May 5 15:47:25 UTC 2021
#62816: Buildbot: building XCode project on 10.14.4 fails with: Swift does not
support the SDK 'MacOSX10.14.sdk'
----------------------------+---------------------
Reporter: lhaeger | Owner: admin@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: buildbot/mpbb | Version: 2.6.4
Resolution: | Keywords:
Port: AutoRaise |
----------------------------+---------------------
Comment (by kencu):
Replying to [comment:2 lhaeger]:
> Replying to [comment:1 kencu]:
> > MacPorts specifically forces the SDK that matches the system version
by default.
>
> Seems as if that is too simple a default rule, maybe. Defaulting to the
SDK that gets installed with the XCode Version used might be a better
choice. Or would that break other ports...?
feel free to raise that on the dev list if you choose
>
>
> > It can be changed with {{{configure.sdkroot}}}.
> That’s good news, thanks a lot, I‘ll give that a try. I did not find
the parameter format documented , though, is it just a version string like
„10.15“?
here's an example
https://github.com/macports/macports-
ports/blob/1f76293ecbd0cbf368ee373d878138a6712da718/devel/libsdl2/Portfile#L35
there is also another variable that could be manipulated, which might be
simpler:
{{{
macosx_sdk_version 10.15
}}}
I'm not sure if that one also exists as
{{{configure.macosx_sdk_version}}}, you'd have to check or wait for
someone to chime in about it.
--
Ticket URL: <https://trac.macports.org/ticket/62816#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list