appleA configuration fragment for Apple platforms.
apple_bitcode_mode apple.bitcode_modeReturns the Bitcode mode to use for compilation steps.
This field is only valid for device builds; for simulator builds, it always returns
string apple.ios_cpu()Deprecated. Use single_arch_cpu instead. The value of ios_cpu for this configuration.
apple_platform apple.ios_cpu_platform()Deprecated. Use single_arch_platform or multi_arch_platform instead. The platform given by the ios_cpu flag.
apple_platform apple.multi_arch_platform(platform_type)The platform of the current configuration for the given platform type. This should only be invoked in a context where multiple architectures may be supported; consider single_arch_platform for other cases.
The apple platform type.
string apple.single_arch_cpuThe single "effective" architecture for this configuration (e.g.,
arm64) in the context of rule logic that is only concerned with a single architecture (such as
objc_library, which registers single-architecture compile actions).
apple_platform apple.single_arch_platformThe platform of the current configuration. This should only be invoked in a context where only a single architecture may be supported; consider multi_arch_platform for other cases.