Changes between Initial Version and Version 1 of Ticket #59837, comment 27


Ignore:
Timestamp:
May 10, 2020, 5:09:37 AM (4 years ago)
Author:
cktse (C.K. Tse)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59837, comment 27

    initial v1  
    22
    33Here's the path to 10.14 SDK in the command line SDK:
     4
     5{{{
    46$ ls -l /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
     7}}}
    58
    69Create symlink to 10.14 SDK within the main Xcode SDK directory:
     10
     11{{{
    712$ cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    813$ ls -l
     
    1924lrwxr-xr-x  1 root  wheel   56 May 10 12:53 MacOSX10.14.sdk -> /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
    2025lrwxr-xr-x  1 root  wheel   10 Nov 18 16:10 MacOSX10.15.sdk -> MacOSX.sdk
     26}}}
    2127
    2228Confirm the xcrun can now locate 10.14 SDK:
     29
     30{{{
    2331$ xcrun --sdk macosx10.14 --show-sdk-path -v
    2432xcrun: note: looking up SDK with '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx10.14 -version Path'
     
    3139xcrun: note: lookup resolved to: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
    3240/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
     41}}}
    3342
    3443Previously xcrun returned an error:
    3544
     45
     46{{{
    3647$ xcrun --sdk macosx10.14 --show-sdk-path
    3748xcodebuild: error: SDK "macosx10.14" cannot be located.
    3849xcodebuild: error: SDK "macosx10.14" cannot be located.
    3950xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.14'
     51}}}
    4052
    4153Hope this helps.