I made a mistake ports $ xcrun --sdk macOSX11 --show-sdk-path xcodebuild: error: SDK "macOSX11" cannot be located. ^[[Axcodebuild: error: SDK "macOSX11" cannot be located. xcrun: error: unable to lookup item 'Path' in SDK ‘macOSX11' ports $ xcrun --show-sdk-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
as you showed: ~ $ cd /Library/Developer/CommandLineTools/SDKs SDKs $ ls -al total 0 drwxr-xr-x@ 9 root wheel 288 Jul 16 16:01 ./ drwxr-xr-x@ 5 root admin 160 Jul 16 16:01 ../ lrwxr-xr-x 1 root wheel 14 Jul 16 15:59 MacOSX.sdk@ -> MacOSX11.3.sdk drwxr-xr-x 8 root wheel 256 Jul 16 15:59 MacOSX10.15.sdk/ drwxr-xr-x@ 7 root wheel 224 Jul 16 16:01 MacOSX11.1.sdk/ drwxr-xr-x 7 root wheel 224 Jul 16 15:58 MacOSX11.3.sdk/ lrwxr-xr-x 1 root wheel 14 Jul 16 15:57 MacOSX11.sdk@ -> MacOSX11.3.sdk drwxr-xr-x 7 root wheel 224 Nov 19 2021 MacOSX12.1.sdk/ lrwxr-xr-x 1 root wheel 14 Jul 16 15:51 MacOSX12.sdk@ -> MacOSX12.1.sdk but xcrun points to MacOSX.sdk $ cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs SDKs $ ls -al total 0 drwxr-xr-x 4 marbre staff 128 Jun 20 17:55 ./ drwxr-xr-x 6 marbre staff 192 Nov 23 2021 ../ drwxr-xr-x 7 marbre staff 224 Jun 20 17:44 MacOSX.sdk/ lrwxr-xr-x 1 marbre staff 10 Jun 20 17:42 MacOSX12.1.sdk@ -> MacOSX.sdk Mark Brethen mark.bret...@gmail.com > On Jul 24, 2022, at 9:24 AM, chrischa...@gmx.us wrote: > > On 7/24/22 at 9:19 AM, Mark Brethen wrote: > >> :info:build Project ERROR: Could not resolve SDK Path for 'macosx11' using >> --show-sdk-path >> >> I then tried >> >> >> ports $ xcrun --sdk macosx10.11 --show-sdk-path >> xcodebuild: error: SDK "macosx10.11" cannot be located. >> xcodebuild: error: SDK "macosx10.11" cannot be located. >> xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11' >> ports $ xcrun --show-sdk-path >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk >> >> How should I proceed? >> >> Thanks, >> >> Mark > > > Already reported: https://trac.macports.org/ticket/65410 > <https://trac.macports.org/ticket/65410>