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

Christopher Jones jonesc at hep.phy.cam.ac.uk
Tue Dec 15 16:03:37 UTC 2020



> 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


> 
> - Josh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20201215/c3211fa2/attachment.bin>


More information about the macports-dev mailing list