What's Changed
- xctrunner: Fix provider of platform type by @kapoorlakshya in #2680
- fix: remove strings from provides by @comius in #2685
- Fix path for XCUIAutomation.framework on Xcode 16.3 by @marcelofabri in #2684
- Add
env_inherit
to*_{ui,unit}_test
rules by @brentleyjones in #2668 - Alias config_settings to apple_support by @keith in #2673
- Fix CI with Xcode 16.2 by @keith in #2679
- Use
TEST_TMPDIR
where possible by @brentleyjones in #2686 - Fix simulators missing by @keith in #2696
- Update apple_support by @keith in #2695
- Remove upstream get_cpu usage by @keith in #2670
- Remove bazel 6.x only flags by @keith in #2678
- remove
--nocheck_visibility
flag from .bazelrc by @aaronsky in #2692 - Use bools for boolean attrs instead of ints by @aaronsky in #2691
- Test using --local_test_jobs=2 only in presubmit.yml by @meteorcloudy in #2701
- Deduplicate linker inputs in merged linking contexts by @aaronsky in #2689
- adopt rules_python, remove use of native python rules by @aaronsky in #2693
- Allow only keeping
.xcresults
for failed tests by @brentleyjones in #2662 - Pass through
TEST_PREMATURE_EXIT_FILE
to simulators by @brentleyjones in #2688 - Always link XCTestSwiftSupport into Swift test targets by @jflan-dd in #2697
- Include
env
variables in the runner as well by @brentleyjones in #2704 - Add
collect_code_coverage
attribute to tests by @brentleyjones in #2705
New Contributors
- @marcelofabri made their first contribution in #2684
- @jflan-dd made their first contribution in #2697
Full Changelog: 3.20.1...3.21.0
This release is compatible with Bazel 7.x LTS and 8.x LTS releases
MODULE.bazel Snippet
bazel_dep(name = "rules_apple", version = "3.21.0", repo_name = "build_bazel_rules_apple")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_rules_apple",
sha256 = "a061f5510c3e993925fb015f19a81378e676898e106083a68fa71991f4533b7f",
url = "https://github.com/bazelbuild/rules_apple/releases/download/3.21.0/rules_apple.3.21.0.tar.gz",
)
load(
"@build_bazel_rules_apple//apple:repositories.bzl",
"apple_rules_dependencies",
)
apple_rules_dependencies()
load(
"@build_bazel_rules_swift//swift:repositories.bzl",
"swift_rules_dependencies",
)
swift_rules_dependencies()
load(
"@build_bazel_rules_swift//swift:extras.bzl",
"swift_rules_extra_dependencies",
)
swift_rules_extra_dependencies()
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()