• Home
  • Raw
  • Download

Lines Matching +full:xcode +full:- +full:version

4 # Use of this source code is governed by a BSD-style license that can be
11 * Requires CIPD authentication. Run `cipd auth-login`, use Google account.
13 * If xcode-select and xcodebuild are not passwordless in sudoers, requires
15 * Downloads standalone binaries from [a possibly different version of Xcode].
17 The toolchain version can be overridden by setting MAC_TOOLCHAIN_REVISION with
36 # This contains binaries from Xcode 15.0 15A240d along with the macOS 14.0 SDK
39 # To update the version numbers, open Xcode's "About Xcode" for the first number
40 # and run `xcrun --show-sdk-build-version` for the second.
44 MAC_BINARIES_LABEL = 'infra_internal/ios/xcode/xcode_binaries/mac-amd64'
45 MAC_BINARIES_TAG = 'dC_BLs9U850OLk8m4V7yxysPhP-ixJ2b5c7hVm8B7tIC'
47 # The toolchain will not be downloaded if the minimum OS version is not met. 19
48 # is the major version number for macOS 10.15. Xcode 15.0 only runs on macOS
50 # 10.15.4, the OS minimum through Xcode 12.4, still seems to work.
55 TOOLCHAIN_BUILD_DIR = os.path.join(TOOLCHAIN_ROOT, 'Xcode.app')
57 # Always integrity-check the entire SDK. Mac SDK packages are complex and often
81 """Requests that the user authenticate to access Xcode CIPD packages."""
83 print('Access to Xcode CIPD package requires authentication.')
84 print('-----------------------------------------------------------------')
88 print('I\'m sorry for the hassle, but you may need to do a one-time manual')
91 print(' cipd auth-login')
97 print('-----------------------------------------------------------------')
110 """Installs the Xcode binaries needed to build Chrome and accepts the license.
112 This is the replacement for InstallXcode that installs a trimmed down version
113 of Xcode that is OS-version agnostic.
122 args = ['cipd', 'ensure', '-root', binaries_root, '-ensure-file', '-']
140 # Accept the license for this version of Xcode if it's newer than the
141 # currently accepted version.
143 'Contents/version.plist')
153 current_license_path = '/Library/Preferences/com.apple.dt.Xcode.plist'
175 print('Accepting new Xcode license. Requires sudo.')
187 args = ['sudo', 'plutil', '-convert', 'xml1', current_license_path]
198 parser = argparse.ArgumentParser(description='Download hermetic Xcode.')
202 print('OS version does not support toolchain.')