Lines Matching refs:version
19 def split_version(version: str or bytes):
21 Splits the Xcode version to 3 values.
30 if isinstance(version, bytes):
31 version = version.decode()
32 version = version.split('.')
33 return itertools.islice(itertools.chain(version, itertools.repeat('0')), 0, 3)
36 def format_version(version: str or bytes):
38 Converts Xcode version to a format required for DTXcode in Info.plist
47 major, minor, patch = split_version(version)
52 """Fills the Xcode version and build number into |fill_settings|."""
55 lines = subprocess.check_output(['xcodebuild', '-version']).splitlines()
60 print(f"Failed to run xcodebuild -version: {cpe}")
70 """Fills the SDK path and version for |platform| into |fill_settings|."""
74 'xcrun', '-sdk', platform, '--show-sdk-version']).strip()
79 'xcrun', '-sdk', platform, '--show-sdk-build-version']).strip()