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

MacPorts noreply at macports.org
Wed Feb 26 04:32:27 UTC 2020


#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 RiotNrrrd):

 Replying to [comment:5 jmroot]:
 > MacPorts looks for `MacOSX10.14.sdk` in
 `/Library/Developer/CommandLineTools/SDKs`, and if it's not there it looks
 in
 `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs`,
 and if it's not there it asks xcrun to find it by running `xcrun --sdk
 macosx10.14 --show-sdk-path`. If the SDK isn't found, it prints the
 warning. Do you in fact have a 10.14 SDK?

 P.S. It looks to me like this statement (by "''Joshua Root''") is
 incorrect:

 {{{
 mymac:/ root# xcrun --sdk macosx10.15 --show-sdk-path
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk

 mymac:/ root# xcrun --sdk macosx10.14 --show-sdk-path
 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'

 mymac:/ root# ls -d
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 }}}

 The SDK is right there in the path "''Joshua Root''" claims it is looked
 for in, yet ''**xcrun**'' doesn't find it.

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


More information about the macports-tickets mailing list