On 2022-4-5 08:23 , Fred Wright wrote:

On Sun, 3 Apr 2022, Joshua Root wrote:
Having MacOSX10.14.sdk ultimately pointing to MacOSX10.15.sdk is probably going to cause problems. On my 10.14 system it looks like this:

% ls -l /Library/Developer/CommandLineTools/SDKs
total 0
drwxr-xr-x  7 root  wheel  224  9 Jul  2019 MacOSX.sdk
drwxr-xr-x  5 root  wheel  160 12 May  2018 MacOSX10.13.sdk
lrwxr-xr-x  1 root  wheel   10  4 Oct  2019 MacOSX10.14.sdk -> MacOSX.sdk
% plutil -p /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/SDKSettings.plist | fgrep \"Version\"
 "Version" => "10.14"

The fact that you have no 10.15 SDK at all suggests that you're running Xcode 10.x, though up through 11.3.1 runs on 10.14.  I usually run the latest Xcode for each OS version, which is what the MacPorts documentation recommends.

% xcodebuild -version
Xcode 11.3.1
Build version 11C504

However:
% pkgutil --pkg-info=com.apple.pkg.{CLTools_Executables,CLTools_Base,DeveloperToolsCLI,DeveloperToolsCLILeo} 2>/dev/null | sed -n 's/^version: //p'
10.3.0.0.1.1562985497

Newer CLT versions are not offered to me via Software Update on 10.14.

- Josh

Reply via email to