CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 299
Releases: bazelbuild/rules_apple
4.1.1
724e402
Compare
What's Changed
- Fix
macos_unit_test
reporting pass when failing by @luispadron in #2754 - Fix
macos_unit_test
warnings when runningxcodebuild
by @luispadron in #2754
Full Changelog: 4.1.0...4.1.1
This release is compatible with Bazel 7.x LTS and 8.x LTS releases
MODULE.bazel Snippet
bazel_dep(name = "rules_apple", version = "4.1.1", 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 = "e21e13568f6cbd1167a3b4c29ee865440c11b680153a7b6014ee15e64cc57c2d",
url = "https://github.com/bazelbuild/rules_apple/releases/download/4.1.1/rules_apple.4.1.1.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()
Assets 3
4.1.0
9b2f083
Compare
What's Changed
- Stop setting toolchains where not used by @brentleyjones in #2738
- xctrunner - Use apple_support.run by @kapoorlakshya in #2734
- Update the implementation to load
objc_library
from rules_cc. by @adincebic in #2741 - Update the examples to load
objc_library
from rules_cc. by @adincebic in #2740 - Update the tests to load
objc_library
from rules_cc. by @adincebic in #2739 - Fix test exec platform constraints and transitions by @fmeum in #2736
- Collect framework dSYMs in test bundle debug dependencies by @sewerynplazuk in #2742
- update xctestrunner to fix xcode >16.3 by @sugarmanz in #2743
- Fix bazelci on HEAD due to old dependency behavior by @aaronsky in #2746
- remove protobuf dev dependency originally added to fix stardoc by @aaronsky in #2748
- bump buildifier in bazelci and correct new lints by @aaronsky in #2749
- Simplify apple_metal_library by @mxpv in #2747
- support icon composer app icons for xcode 26+ by @aaronsky in #2733
- [doc] update iOS app tutorial by @aaronsky in #2750
- support processing string catalogs (xcstrings) by @aaronsky in #2645
- [doc] update docs to reflect bazel upstream changes by @aaronsky in #2752
New Contributors
- @sugarmanz made their first contribution in #2743
- @mxpv made their first contribution in #2747
Full Changelog: 4.0.1...4.1.0
This release is compatible with Bazel 7.x LTS and 8.x LTS releases
MODULE.bazel Snippet
bazel_dep(name = "rules_apple", version = "4.1.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 = "20152b14d9a420afc15ace905c02fd6425ddceb084630f3f043b287adf0fcdbd",
url = "https://github.com/bazelbuild/rules_apple/releases/download/4.1.0/rules_apple.4.1.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()
Assets 3
4.0.1
3453bc0
Compare
What's Changed
Fixed
- Fix
TEST_PREMATURE_EXIT_FILE
not being removed inmacos_test_runner
by @brentleyjones in #2735
Full Changelog: 4.0.0...4.0.1
This release is compatible with Bazel 7.x LTS and 8.x LTS releases
MODULE.bazel Snippet
bazel_dep(name = "rules_apple", version = "4.0.1", 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 = "b28822cb81916fb544119f5533de010cc67ec6a789f2e7d0fc19d53bfcbb8285",
url = "https://github.com/bazelbuild/rules_apple/releases/download/4.0.1/rules_apple.4.0.1.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()
Assets 3
4.0.0
3501fdb
Compare
What's changed
Breaking changes
.swiftinterface
files are no longer provided by default unless the underlying swift_library usesfeatures = ["swift.emit_swiftinterface"]
orlibrary_evolution = True
.- Removed
experimental_mixed_language_library
rule, users should use rules_swift'smixed_language_library
rule instead.
Fixed
- Fix to only generate Swift interfaces if a build graph for an XCFramework rule is found to contain non-system Swift modules. by @luispadron in #2715
- Fix issue with codesign not supporting bundles that have spaces by @adincebic in #2732
Removed
- Remove
no-remote
when there aren’t any codesign commands by @brentleyjones in #2682 - Remove
One of the two will be used
grep by @brentleyjones in #2724 - Remove experimental mixed language library rule by @luispadron in #2730
Added
- Add a new series of boundary checks to keep users informed of how to resolve issues with 3P static library SDK rules (such as apple_static_xcframework) caused by making avoid_deps too all-encompassing. by @luispadron in #2716
- Utilize
TEST_PREMATURE_EXIT_FILE
by @brentleyjones in #2725 - Ability to explicitly specify output files in apple_core_data_model rule by @daltonclaybrook in #2727
- Support latest rules_swift by @luispadron in #2729
Changed
*_build_test
: Don't allow targets to be empty. by @luispadron in #2719- Disable include scanning to work around issue with GrepIncludes actions by @luispadron in #2720
- Mark the output bundle's root folder permissions as 0o755 as the user when tree artifact bundling is active, for parity with the output bundle generated by legacy bundling. by @luispadron in #2721
- Mark provisioning_profiles_repository_extension as reproducible by @fmeum in #2731
New Contributors
- @fmeum made their first contribution in #2731
- @daltonclaybrook made their first contribution in #2727
Full Changelog: 3.22.0...4.0.0
This release is compatible with Bazel 7.x LTS and 8.x LTS releases
MODULE.bazel Snippet
bazel_dep(name = "rules_apple", version = "4.0.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 = "70b0fb2aec1055c978109199bf58ccb5008aba8e242f3305194045c271ca3cae",
url = "https://github.com/bazelbuild/rules_apple/releases/download/4.0.0/rules_apple.4.0.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()
Assets 3
3.22.0
281186e
Compare
What's Changed
- add rules_shell as a dependency in bzlmod to fix HEAD builds by @aaronsky in #2712
- [testing] expose the xcresult bundle to post action binaries for processing by @aaronsky in #2711
- Tests: Allow post_action to determine exit status by @kapoorlakshya in #2713
Full Changelog: 3.21.1...3.22.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.22.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 = "a78f26c22ac8d6e3f3fcaad50eace4d9c767688bd7254b75bdf4a6735b299f6a",
url = "https://github.com/bazelbuild/rules_apple/releases/download/3.22.0/rules_apple.3.22.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()
Assets 3
3.21.1
66c7627
Compare
What's Changed
- Fix test_coverage_manifest on macos_test_runner by @marcelofabri in #2672
- Relax rsync path for permissions workaround in macOS 15.4+ by @luispadron in #2710
Full Changelog: 3.21.0...3.21.1
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.1", 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 = "0e06b46e046833b8ca38b4d47ea945f5a8ccb96ea35fce6309a4cd6835582fd0",
url = "https://github.com/bazelbuild/rules_apple/releases/download/3.21.1/rules_apple.3.21.1.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()
Assets 3
3.21.0
fecf206
Compare
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()
Assets 3
3.20.1
2fce4fa
Compare
What's Changed
- Fix non-
$should_use_xcodebuild
path of test runner by @brentleyjones in #2666
Full Changelog: 3.20.0...3.20.1
This release is compatible with Bazel 7.x LTS and 8.x LTS releases.
MODULE.bazel Snippet
bazel_dep(name = "rules_apple", version = "3.20.1", 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 = "73ad768dfe824c736d0a8a81521867b1fb7a822acda2ed265897c03de6ae6767",
url = "https://github.com/bazelbuild/rules_apple/releases/download/3.20.1/rules_apple.3.20.1.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()
Assets 3
3.20.0
338c2e0
Compare
What's Changed
- Add
additional_linker_inputs
support for apple_test_assembler.bzl by @luispadron in #2656 - Add
apple.codesign_frameworks_without_provisioning_profile
feature by @brentleyjones in #2605 - Add a few more
exec_compatible_with
by @brentleyjones in #2661 - Add xctrunner rule to create test bundles by @kapoorlakshya in #2529
- Allow collecting
.profdata
from test runs by @brentleyjones in #2665 - Support pre- and post- actions in
ios_xctestrun_runner
by @aaronsky in #2649 - Add swift-testing support to the xctest runner by @ed-irl in #2554
Full Changelog: 3.19.1...3.20.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.20.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 = "ee8b760f74d66bcbd4d567e207a363def87474215cdcf876c5687ad350909f0a",
url = "https://github.com/bazelbuild/rules_apple/releases/download/3.20.0/rules_apple.3.20.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()
Assets 3
3.19.1
ec9d864
Compare
What's Changed
- Fix Bazel 8 crash when generating dsym or linkmap paths by @jpsim in #2651
- Fix device families for visionOS by @keith in #2653
- Add
manual
tag to test bundle rule by @brentleyjones in #2655
Full Changelog: 3.19.0...3.19.1
This release is compatible with Bazel 7.x LTS and 8.x LTS releases.
MODULE.bazel Snippet
bazel_dep(name = "rules_apple", version = "3.19.1", 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 = "7d10bbf8ec7bf5d6542122babbb3464e643e981d01967b4d600af392b868d817",
url = "https://github.com/bazelbuild/rules_apple/releases/download/3.19.1/rules_apple.3.19.1.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()