> On 15 Dec 2020, at 4:06 pm, Joshua Root <j...@macports.org> wrote:
> 
> On 2020-12-16 03:03 , Christopher Jones wrote:
>> 
>> 
>>> On 15 Dec 2020, at 3:55 pm, Joshua Root <j...@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.

I’m afraid not...

Oberon ~/Projects/MacPorts/ports > xcrun --sdk macosx11.0 --show-sdk-path
xcodebuild: error: SDK "macosx11.0" cannot be located.
xcodebuild: error: SDK "macosx11.0" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK ‘macosx11.0'


> 
> - Josh

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to