github bazelbuild/rules_apple 4.4.0

7 hours ago

What's Changed

  • Migrate uses of ctx.fragments.apple.{single/multi}_arch_platform(...) to platform constraints. by @adincebic in #2846
  • Move methods to report platform constraints as strings to apple_support by @adincebic in #2847
  • Create persistent non-test simulators with the correct runtime by @brentleyjones in #2849
  • Add @loader_path/Frameworks rpath when building frameworks, as Xcode does by @adincebic in #2850
  • Infer tvOS/watchOS archs from the CPU parameters, similarly to iOS by @rockbruno in #2707
  • Add @loader_path/Frameworks rpath when building dynamic xcframeworks by @adincebic in #2852
  • Add visionOS & tvOS platform attrs to apple_xcframework rules by @adincebic in #2853
  • Remove unsupported includes parameter for apple_metal_library by @mjburghard in #2851
  • Make AppIntentsMetadataProcessor outputs deterministic by @thelvis4 in #2761
  • Implement rule for linker order files apple_order_file by @adincebic in #2855
  • Add a build setting to disable Swift stdlib binary thinning by @adincebic in #2856
  • Migrate all usage of ctx.fragments.apple.single_arch_platform(...) to platform constraints by @luispadron in #2858
  • Remove usage of legacy apple_common.get_split_build_configs(...), retrieving configs from the cc_toolchains that are the source of truth for the linking via public starlark APIs. by @luispadron in #2860
  • run subshells in bundletool_experimental using subprocess API by @aaronsky in #2866
  • Log when BAZEL_APPLE_LAUNCH_INFO_PATH finishes writing by @rockbruno in #2871
  • Fix mixed_language_library propagation after data removal by @luispadron in #2880
  • Include App Clip dSYMS when include_symbols_in_bundle is True by @ghugues in #2882
  • Expose simulator_creator as public API for improved extensibility by @aaronsky in #2881
  • Avoid conflicting actions for xcframework bundles with custom bundle names by @jschear in #2883
  • Changes required to support Bazel 9 by @luispadron in #2868

New Contributors

Full Changelog: 4.3.3...4.4.0

This release is compatible with Bazel 7.x LTS, 8.x LTS, and 9.x LTS releases.

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "4.4.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 = "c6d8d0361cd7e48067a2cb3bb6bb295182f8e44ee66905f3d578d5a96bcac18c",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/4.4.0/rules_apple.4.4.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()

Don't miss a new rules_apple release

NewReleases is sending notifications on new releases.