[MacPorts] #59837: macOS 10.14 SDK does not appear to be installed even though Command Line Tools are installed
MacPorts
noreply at macports.org
Tue Jan 7 09:28:59 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 manulcaux):
HI,
I followed all the steps you suggested :
[Emmanuels:/Library/Developer] caux% sudo mkdir
/Library/Developer/SavedSDKS
Password:
[Emmanuels:/Library/Developer] caux% sudo mv
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
/Library/Developer/SavedSDKS/MacOSX10.14.sdk
[Emmanuels:/Library/Developer] caux% sudo rm -rf
/Library/Developer/CommandLineTools
[Emmanuels:/Library/Developer] caux% xcode-select --install
xcode-select: note: install requested for command line developer tools
[Emmanuels:/Library/Developer] caux% sudo ln -s
/Library/Developer/SavedSDKS/MacOSX10.14.sdk
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
[Emmanuels:/Library/Developer] caux% sudo ln -s
/Library/Developer/SavedSDKS/MacOSX10.14.sdk
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
Up to there, I didn't get any error message.
But running this command :
[Emmanuels:/Library/Developer] caux% 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'
[Emmanuels:/Library/Developer] caux%
shows the problem is still there, and impeds me to upgrade any ports...
Many thanks to continue to help me !
--
Ticket URL: <https://trac.macports.org/ticket/59837#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list