xcode_support Starlark ModuleA modules of helpers for rule authors to aid in writing rules that need to change what they do based on attributes of the active Xcode.
To use these in your Starlark code, simply load the module; for example:
load("@build_bazel_apple_support//lib:xcode_support.bzl", "xcode_support")
On this page:
Returns True if Xcode version is at least a given version.
This method takes as input an XcodeVersionConfig provider, which can be obtained from the _xcode_config attribute (e.g. ctx.attr._xcode_config[apple_common.XcodeVersionConfig]). This provider should contain the Xcode version parameters with which this rule is being built with. If you need to add this attribute to your rule implementation, please refer to apple_support.action_required_attrs().
True if the given xcode_config version at least as high as the requested version.