Changes between Initial Version and Version 1 of Ticket #59837, comment 27
- Timestamp:
- May 10, 2020, 5:09:37 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59837, comment 27
initial v1 2 2 3 3 Here's the path to 10.14 SDK in the command line SDK: 4 5 {{{ 4 6 $ ls -l /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk 7 }}} 5 8 6 9 Create symlink to 10.14 SDK within the main Xcode SDK directory: 10 11 {{{ 7 12 $ cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs 8 13 $ ls -l … … 19 24 lrwxr-xr-x 1 root wheel 56 May 10 12:53 MacOSX10.14.sdk -> /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk 20 25 lrwxr-xr-x 1 root wheel 10 Nov 18 16:10 MacOSX10.15.sdk -> MacOSX.sdk 26 }}} 21 27 22 28 Confirm the xcrun can now locate 10.14 SDK: 29 30 {{{ 23 31 $ xcrun --sdk macosx10.14 --show-sdk-path -v 24 32 xcrun: note: looking up SDK with '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx10.14 -version Path' … … 31 39 xcrun: note: lookup resolved to: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' 32 40 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk 41 }}} 33 42 34 43 Previously xcrun returned an error: 35 44 45 46 {{{ 36 47 $ xcrun --sdk macosx10.14 --show-sdk-path 37 48 xcodebuild: error: SDK "macosx10.14" cannot be located. 38 49 xcodebuild: error: SDK "macosx10.14" cannot be located. 39 50 xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.14' 51 }}} 40 52 41 53 Hope this helps.