Lines Matching +full:xcode +full:- +full:version
3 # Use of this source code is governed by a BSD-style license that can be
5 r"""Prints the lowest locally available SDK version greater than or equal to a
6 given minimum sdk version to standard output.
8 If --print_sdk_path is passed, then the script will also print the SDK path.
9 If --print_bin_path is passed, then the script will also print the path to the
14 [--print_sdk_path] \
15 [--print_bin_path] \
19 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
20 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
48 parser.add_option("--print_sdk_path",
51 parser.add_option("--print_bin_path",
54 parser.add_option("--print_sdk_build",
56 help="Additionally print the build version of the SDK.")
59 parser.error('Please specify a minimum SDK version')
63 job = subprocess.Popen(['xcode-select', '-print-path'],
70 raise Exception('Error %d running xcode-select' % job.returncode)
71 dev_dir = out.decode('UTF-8').rstrip()
76 raise SdkError('Install Xcode, launch it, accept the license ' +
77 'agreement, and run `sudo xcode-select -s /path/to/Xcode.app` ' +