Force Xcode SDK instead of CLI SDK?

Clemens Lang cal at macports.org
Sun Nov 22 21:59:06 UTC 2020


Hi,

On Fri, Nov 20, 2020 at 04:52:24PM -0600, Ryan Schmidt wrote:
> > I'm very-well aware of this problem. However, when `use_xcode` is
> > set, I think we must prefer an Xcode SDK with the required tools for
> > GUI stuff, even if it isn't the exact version and a CLT SDK with the
> > expected version is available.
> 
> What do you mean by "an Xcode SDK with the required tools for GUI
> stuff"? Aren't the SDKs from the command line tools identical to the
> SDKs from Xcode?

I always had the impression the SDKs shipped with Xcode come with
additional tools required for GUI development, but maybe I'm wrong and
those tools are not part of the SDK.

If I'm wrong, I'm not sure why we're even differentiating between SDKs
in Xcode and those in the CLT folders, though. I don't do macOS GUI
development, though, so I have very little working knowledge of the
details.

-- 
Clemens


More information about the macports-dev mailing list