[MacPorts] #59837: macOS 10.14 SDK does not appear to be installed even though Command Line Tools are installed

MacPorts noreply at macports.org
Fri Dec 13 13:43:02 UTC 2019


#59837: macOS 10.14 SDK does not appear to be installed even though Command Line
Tools are installed
------------------------+--------------------
  Reporter:  manulcaux  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Comment (by manulcaux):

 Searching in the cited directories, I find :

 No MacOSX10.14.sdk in /Library/Developer/CommandLineTools/SDKs

 There is a MacOSX.sdk in
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
 :

 [Emmanuels:MacOSX.platform/Developer/SDKs] caux% ls
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
 DriverKit19.0.sdk/ MacOSX.sdk/        MacOSX10.15.sdk@

 But the alias is MacOSX10.15.sdk@ and not MacOSX10.14.sdk@ as it should be
 I think. I have no idea why and how this alias has been created as I never
 tried to install MacOSX10.15 on my computer !

 Should I just rename MacOSX10.15.sdk@ as MacOSX10.14.sdk@ ?

 Running
 [Emmanuels:MacOSX.platform/Developer/SDKs] caux% xcrun --sdk macosx10.14
 --show-sdk-path

 gives :
 xcodebuild: error: SDK "macosx10.14" cannot be located.
 xcodebuild: error: SDK "macosx10.14" cannot be located.
 xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.14'

-- 
Ticket URL: <https://trac.macports.org/ticket/59837#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list