Internal Change

RELNOTES: None
PiperOrigin-RevId: 422589309
(cherry picked from commit 52945339206466fa925c815f098145bd88fd8341)
1 file changed
tree: 547dedddaea03baf59d020fcca6915180fc2c32c
  1. .bazelci/
  2. constraints/
  3. doc/
  4. lib/
  5. rules/
  6. test/
  7. tools/
  8. .gitignore
  9. .pre-commit-config.yaml
  10. AUTHORS
  11. BUILD
  12. CONTRIBUTING.md
  13. LICENSE
  14. MODULE.bazel
  15. README.md
  16. WORKSPACE
README.md

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.

Quick setup

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 = "5bbce1b2b9a3d4b03c0697687023ef5471578e76f994363c641c5f50ff0c7268",
    url = "https://github.com/bazelbuild/apple_support/releases/download/0.13.0/apple_support.0.13.0.tar.gz",
)

load(
    "@build_bazel_apple_support//lib:repositories.bzl",
    "apple_support_dependencies",
)

apple_support_dependencies()