Skip to content

Instantly share code, notes, and snippets.

@McMartin
Created February 10, 2019 22:10
Show Gist options
  • Save McMartin/6a4d07baa8e7fd45b5c864cb67c12a9c to your computer and use it in GitHub Desktop.
Save McMartin/6a4d07baa8e7fd45b5c864cb67c12a9c to your computer and use it in GitHub Desktop.
xcrun on Travis CI
language: cpp
install:
- which xcrun
script:
- xcrun --help
- xcrun --show-sdk-path || true
- xcrun --show-sdk-version || true
- xcrun --show-sdk-build-version || true
- xcrun --show-sdk-platform-path || true
- xcrun --show-sdk-platform-version || true
- xcrun --sdk macosx --show-sdk-path || true
- xcrun --sdk macosx --show-sdk-version || true
- xcrun --sdk macosx --show-sdk-build-version || true
- xcrun --sdk macosx --show-sdk-platform-path || true
- xcrun --sdk macosx --show-sdk-platform-version || true
- xcrun --sdk iphoneos --show-sdk-path || true
- xcrun --sdk iphoneos --show-sdk-version || true
- xcrun --sdk iphoneos --show-sdk-build-version || true
- xcrun --sdk iphoneos --show-sdk-platform-path || true
- xcrun --sdk iphoneos --show-sdk-platform-version || true
- xcrun --sdk iphonesimulator --show-sdk-path || true
- xcrun --sdk iphonesimulator --show-sdk-version || true
- xcrun --sdk iphonesimulator --show-sdk-build-version || true
- xcrun --sdk iphonesimulator --show-sdk-platform-path || true
- xcrun --sdk iphonesimulator --show-sdk-platform-version || true
- xcrun --sdk macosx10.9 --show-sdk-path || true
- xcrun --sdk macosx10.9 --show-sdk-version || true
- xcrun --sdk macosx10.9 --show-sdk-build-version || true
- xcrun --sdk macosx10.9 --show-sdk-platform-path || true
- xcrun --sdk macosx10.9 --show-sdk-platform-version || true
- xcrun --sdk macosx10.10 --show-sdk-path || true
- xcrun --sdk macosx10.10 --show-sdk-version || true
- xcrun --sdk macosx10.10 --show-sdk-build-version || true
- xcrun --sdk macosx10.10 --show-sdk-platform-path || true
- xcrun --sdk macosx10.10 --show-sdk-platform-version || true
- xcrun --sdk macosx10.11 --show-sdk-path || true
- xcrun --sdk macosx10.11 --show-sdk-version || true
- xcrun --sdk macosx10.11 --show-sdk-build-version || true
- xcrun --sdk macosx10.11 --show-sdk-platform-path || true
- xcrun --sdk macosx10.11 --show-sdk-platform-version || true
- xcrun --sdk macosx10.12 --show-sdk-path || true
- xcrun --sdk macosx10.12 --show-sdk-version || true
- xcrun --sdk macosx10.12 --show-sdk-build-version || true
- xcrun --sdk macosx10.12 --show-sdk-platform-path || true
- xcrun --sdk macosx10.12 --show-sdk-platform-version || true
- xcrun --sdk macosx10.13 --show-sdk-path || true
- xcrun --sdk macosx10.13 --show-sdk-version || true
- xcrun --sdk macosx10.13 --show-sdk-build-version || true
- xcrun --sdk macosx10.13 --show-sdk-platform-path || true
- xcrun --sdk macosx10.13 --show-sdk-platform-version || true
- xcrun --sdk macosx10.14 --show-sdk-path || true
- xcrun --sdk macosx10.14 --show-sdk-version || true
- xcrun --sdk macosx10.14 --show-sdk-build-version || true
- xcrun --sdk macosx10.14 --show-sdk-platform-path || true
- xcrun --sdk macosx10.14 --show-sdk-platform-version || true
matrix:
include:
- os: osx
osx_image: xcode6.4
- os: osx
osx_image: xcode7.3
- os: osx
osx_image: xcode8
- os: osx
osx_image: xcode8.3
- os: osx
osx_image: xcode9
- os: osx
osx_image: xcode9.1
- os: osx
osx_image: xcode9.2
- os: osx
osx_image: xcode9.3
- os: osx
osx_image: xcode9.4
- os: osx
osx_image: xcode10
- os: osx
osx_image: xcode10.1
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
$ xcrun --show-sdk-version || true
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK '/'
$ xcrun --show-sdk-build-version || true
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK '/'
$ xcrun --show-sdk-platform-path || true
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK '/'
$ xcrun --show-sdk-platform-version || true
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK '/'
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode-10.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.14
$ xcrun --sdk macosx --show-sdk-build-version || true
18B71
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode-10.1.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
12.1
$ xcrun --sdk iphoneos --show-sdk-build-version || true
16B91
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
12.1
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
12.1
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
16B91
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
12.1
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.13 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.14 --show-sdk-path || true
/Applications/Xcode-10.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
$ xcrun --sdk macosx10.14 --show-sdk-version || true
10.14
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
18B71
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
/Applications/Xcode-10.1.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
1.1
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
$ xcrun --show-sdk-version || true
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK '/'
$ xcrun --show-sdk-build-version || true
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK '/'
$ xcrun --show-sdk-platform-path || true
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK '/'
$ xcrun --show-sdk-platform-version || true
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK '/'
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode-10.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.14
$ xcrun --sdk macosx --show-sdk-build-version || true
18A384
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode-10.0.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode-10.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
12.0
$ xcrun --sdk iphoneos --show-sdk-build-version || true
16A366
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode-10.0.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
12.0
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode-10.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
12.0
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
16A366
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode-10.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
12.0
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.13 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.14 --show-sdk-path || true
/Applications/Xcode-10.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
$ xcrun --sdk macosx10.14 --show-sdk-version || true
10.14
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
18A384
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
/Applications/Xcode-10.0.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
1.1
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
$ xcrun --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
$ xcrun --show-sdk-version || true
10.10
$ xcrun --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.10
$ xcrun --sdk macosx --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
8.4
$ xcrun --sdk iphoneos --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
8.4
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
8.4
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
8.4
$ xcrun --sdk macosx10.9 --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
$ xcrun --sdk macosx10.9 --show-sdk-version || true
10.9
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.10 --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
$ xcrun --sdk macosx10.10 --show-sdk-version || true
10.10
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.13 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.14 --show-sdk-path || true
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'
$ xcrun --sdk macosx10.14 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
xcrun: error: unrecognized option: --show-sdk-build-version
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.14'
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
$ xcrun --show-sdk-version || true
10.11
$ xcrun --show-sdk-build-version || true
15E60
$ xcrun --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.11
$ xcrun --sdk macosx --show-sdk-build-version || true
15E60
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
9.3
$ xcrun --sdk iphoneos --show-sdk-build-version || true
13E230
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
9.3
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
9.3
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
13E230
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
9.3
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
$ xcrun --sdk macosx10.11 --show-sdk-version || true
10.11
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
15E60
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.12 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.13 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.14 --show-sdk-path || true
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'
$ xcrun --sdk macosx10.14 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.14'
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
$ xcrun --show-sdk-version || true
10.12
$ xcrun --show-sdk-build-version || true
16E185
$ xcrun --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.12
$ xcrun --sdk macosx --show-sdk-build-version || true
16E185
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
10.3
$ xcrun --sdk iphoneos --show-sdk-build-version || true
14E8301
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
10.3
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
10.3
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
14E8301
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
10.3
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
$ xcrun --sdk macosx10.12 --show-sdk-version || true
10.12
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
16E185
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.13 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.14 --show-sdk-path || true
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'
$ xcrun --sdk macosx10.14 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.14'
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
$ xcrun --show-sdk-version || true
10.12
$ xcrun --show-sdk-build-version || true
16A300
$ xcrun --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.12
$ xcrun --sdk macosx --show-sdk-build-version || true
16A300
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
10.0
$ xcrun --sdk iphoneos --show-sdk-build-version || true
14A345
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
10.0
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
10.0
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
14A345
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
10.0
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
$ xcrun --sdk macosx10.12 --show-sdk-version || true
10.12
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
16A300
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.13 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcodebuild: error: SDK "macosx10.13" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.13'
$ xcrun --sdk macosx10.14 --show-sdk-path || true
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'
$ xcrun --sdk macosx10.14 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.14'
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --show-sdk-version || true
10.13
$ xcrun --show-sdk-build-version || true
17B41
$ xcrun --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.13
$ xcrun --sdk macosx --show-sdk-build-version || true
17B41
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
11.1
$ xcrun --sdk iphoneos --show-sdk-build-version || true
15B87
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
11.1
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
11.1
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
15B87
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
11.1
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.13 --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx10.13 --show-sdk-version || true
10.13
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
17B41
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.14 --show-sdk-path || true
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'
$ xcrun --sdk macosx10.14 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.14'
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --show-sdk-version || true
10.13
$ xcrun --show-sdk-build-version || true
17C76
$ xcrun --show-sdk-platform-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.13
$ xcrun --sdk macosx --show-sdk-build-version || true
17C76
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
11.2
$ xcrun --sdk iphoneos --show-sdk-build-version || true
15C107
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
11.2
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
11.2
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
15C107
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
11.2
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.13 --show-sdk-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx10.13 --show-sdk-version || true
10.13
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
17C76
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.14 --show-sdk-path || true
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'
$ xcrun --sdk macosx10.14 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.14'
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
$ xcrun --show-sdk-version || true
10.13
$ xcrun --show-sdk-build-version || true
17E189
$ xcrun --show-sdk-platform-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.13
$ xcrun --sdk macosx --show-sdk-build-version || true
17E189
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
11.3
$ xcrun --sdk iphoneos --show-sdk-build-version || true
15E217
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
11.3
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
11.3
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
15E217
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
11.3
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.13 --show-sdk-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx10.13 --show-sdk-version || true
10.13
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
17E189
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
/Applications/Xcode-9.3.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.14 --show-sdk-path || true
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'
$ xcrun --sdk macosx10.14 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.14'
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
$ xcrun --show-sdk-version || true
10.13
$ xcrun --show-sdk-build-version || true
17E189
$ xcrun --show-sdk-platform-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.13
$ xcrun --sdk macosx --show-sdk-build-version || true
17E189
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
11.4
$ xcrun --sdk iphoneos --show-sdk-build-version || true
15F79
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
11.4
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
11.4
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
15F79
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
11.4
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.13 --show-sdk-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx10.13 --show-sdk-version || true
10.13
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
17E189
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
/Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.14 --show-sdk-path || true
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'
$ xcrun --sdk macosx10.14 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.14'
$ which xcrun
/usr/bin/xcrun
$ xcrun --help
Usage: xcrun [options] <tool name> ... arguments ...
Find and execute the named command line tool from the active developer
directory.
The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.
Options:
-h, --help show this help message and exit
--version show the xcrun version
-v, --verbose show verbose logging output
--sdk <sdk name> find the tool for the given SDK name
--toolchain <name> find the tool for the given toolchain
-l, --log show commands to be executed (with --run)
-f, --find only find and print the tool path
-r, --run find and execute the tool (the default behavior)
-n, --no-cache do not use the lookup cache
-k, --kill-cache invalidate all existing cache entries
--show-sdk-path show selected SDK install path
--show-sdk-version show selected SDK version
--show-sdk-build-version show selected SDK build version
--show-sdk-platform-path show selected SDK platform path
--show-sdk-platform-version show selected SDK platform version
$ xcrun --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --show-sdk-version || true
10.13
$ xcrun --show-sdk-build-version || true
17A360
$ xcrun --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx --show-sdk-version || true
10.13
$ xcrun --sdk macosx --show-sdk-build-version || true
17A360
$ xcrun --sdk macosx --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx --show-sdk-platform-version || true
1.1
$ xcrun --sdk iphoneos --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
$ xcrun --sdk iphoneos --show-sdk-version || true
11.0
$ xcrun --sdk iphoneos --show-sdk-build-version || true
15A372
$ xcrun --sdk iphoneos --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
$ xcrun --sdk iphoneos --show-sdk-platform-version || true
11.0
$ xcrun --sdk iphonesimulator --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk
$ xcrun --sdk iphonesimulator --show-sdk-version || true
11.0
$ xcrun --sdk iphonesimulator --show-sdk-build-version || true
15A372
$ xcrun --sdk iphonesimulator --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
$ xcrun --sdk iphonesimulator --show-sdk-platform-version || true
11.0
$ xcrun --sdk macosx10.9 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.9 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcodebuild: error: SDK "macosx10.9" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.9'
$ xcrun --sdk macosx10.10 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.10 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcodebuild: error: SDK "macosx10.10" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.10'
$ xcrun --sdk macosx10.11 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.11 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcodebuild: error: SDK "macosx10.11" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.11'
$ xcrun --sdk macosx10.12 --show-sdk-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.12 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcodebuild: error: SDK "macosx10.12" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.12'
$ xcrun --sdk macosx10.13 --show-sdk-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
$ xcrun --sdk macosx10.13 --show-sdk-version || true
10.13
$ xcrun --sdk macosx10.13 --show-sdk-build-version || true
17A360
$ xcrun --sdk macosx10.13 --show-sdk-platform-path || true
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
$ xcrun --sdk macosx10.13 --show-sdk-platform-version || true
1.1
$ xcrun --sdk macosx10.14 --show-sdk-path || true
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'
$ xcrun --sdk macosx10.14 --show-sdk-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-build-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'ProductBuildVersion' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-path || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformPath' in SDK 'macosx10.14'
$ xcrun --sdk macosx10.14 --show-sdk-platform-version || true
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcodebuild: error: SDK "macosx10.14" cannot be located.
xcrun: error: unable to lookup item 'PlatformVersion' in SDK 'macosx10.14'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment