Apple Support for Bazel
This repository contains helper methods that support building rules that target Apple platforms. See the docs for how you can use these helpers. Also see rules_apple and rules_swift for more Apple platform rules.
Add the following to your WORKSPACE
file to add this repository as a dependency:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_apple_support",
sha256 = "d94b7a0f49d735f196e1f36d2e6ef79c4e8e8b82132848dd8cd93cd82d9b12a8",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.3.0/apple_support.1.3.0.tar.gz",
)
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()