warning - base incorrectly sets SDK version with macOS 11.1 / Xcode 12.3

Joshua Root jmr at macports.org
Tue Dec 15 16:06:17 UTC 2020

On 2020-12-16 03:03 , Christopher Jones wrote:
>> On 15 Dec 2020, at 3:55 pm, Joshua Root <jmr at macports.org> wrote:
>> On 2020-12-16 02:40 , Christopher Jones wrote:
>>> Yes, you are right, ${configure.sdkroot} does indeed fallback to the
>>> versionless SDK path, but there are other variables like
>>> ${configure.sdk_version} which are set incorrectly now, and thus any
>>> port explicitly using these will likely run into problems.
>> That option has always meant "this is the SDK version we are going to
>> try to use", not "this is the SDK version we are definitely actually using".
>> Does `xcrun --sdk macosx11 --show-sdk-path` give a useful result, or do
>> you have to specify an exact version?
> you have to give the full version
> Oberon ~/Projects/MacPorts/ports > xcrun --sdk macosx11 --show-sdk-path
> xcodebuild: error: SDK "macosx11" cannot be located.
> xcodebuild: error: SDK "macosx11" cannot be located.
> xcrun: error: unable to lookup item 'Path' in SDK 'macosx11'
> Oberon ~/Projects/MacPorts/ports > xcrun --sdk macosx11.1 --show-sdk-path
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk

OK, thanks. And I suppose asking for macosx11.0 doesn't work either when
all you have is 11.1.

- Josh

More information about the macports-dev mailing list