Add `//lib:swizzle_absolute_xcttestsourcelocation` target (#128) When this target is linked into an XCTest binary, and the `BUILD_WORKSPACE_DIRECTORY` environment variable is set, the relative paths of `XCTSourceCodeLocation` are made absolute, fixing Test Issue navigation in Xcode.
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 = "f4f377d0df696a9112e95d227e55ac8bb7eb44084f37d2d215b18cc8571e5ba8", url = "https://github.com/bazelbuild/apple_support/releases/download/1.2.0/apple_support.1.2.0.tar.gz", ) load( "@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies", ) apple_support_dependencies()