apple_host_system_env

Returns a dict of environment variables that should be set for actions that need to run build tools on an Apple host system, such as the version of Xcode that should be used. The keys are variable names and the values are their corresponding values.

Parameters

link_multi_arch_binary

Links a (potentially multi-architecture) binary targeting Apple platforms. This method comprises a bulk of the logic of the apple_binary rule, and is exposed as an API to iterate on migration of apple_binary to Starlark.

This API is highly experimental and subject to change at any time. Do not depend on the stability of this function at this time.

multi_arch_split

A configuration transition for rule attributes to build dependencies in one or more Apple platforms.

Use of this transition requires that the 'platform_type' and 'minimum_os_version' string attributes are defined and mandatory on the rule.

The value of the platform_type attribute will dictate the target architectures for which dependencies along this configuration transition will be built.

Options are:

ios: architectures gathered from --ios_multi_cpus.

macos: architectures gathered from --macos_cpus.

tvos: architectures gathered from --tvos_cpus.

watchos: architectures gathered from --watchos_cpus.

minimum_os_version should be a dotted version string such as '7.3', and is used to set the minimum operating system on the configuration similarly based on platform type. For example, specifying platform_type 'ios' and minimum_os_version '8.0' will ensure that dependencies are built with minimum iOS version '8.0'.

target_apple_env

Returns a dict of environment variables that should be set for actions that build targets of the given Apple platform type. For example, this dictionary contains variables that denote the platform name and SDK version with which to build. The keys are variable names and the values are their corresponding values.