github bazelbuild/rules_apple 2.2.0

latest releases: 4.2.0, 4.1.2, 4.1.1...
2 years ago

What's Changed

  • Added data attribute to apple_static_{framework,xcframework}_import rules (#1841)
  • Added framework linking info to CcInfo of framework rules (#1845)
  • Added linking info to CcInfos of apple_framework_import rules (#1847)
  • Coverage manifest change is now applied to the new test runner (#1846)
  • Deps no longer require the ObjcProvider provider (#1854)
  • Reverted "Fix linkmap test on M1s (#1595)" (#1866)
  • Added support for UI testing with ios_xctestrun_runner (#1852)
  • Added support for simulator name input to ios_xctestrun_runner (#1874)
  • Added custom xcodebuild args to ios_xctestrun_runner (#1876)
  • Added test_filter/--test_filter support to ios_xctestrun_runner (#1878)
  • [ios_xctestrun_runner] Force xcodebuild sometimes (#1882)
  • Added ios_xctestrun_runner rule override attributes (#1884)
  • clang_rt is now included independent of asan, tsan, and ubsan features (#1883)
  • Added more entitlements validation (#1888)
  • TEST_UNDECLARED_OUTPUTS_DIR is now passed to test processes (#1889)
  • Fixed linking static frameworks with sdk requirements (#1892)
  • Added DEBUG_XCTESTRUNNER var (#1890)
  • Removed implicit_outputs from apple_binary (#1898)
  • Fixed clangrttool if Xcode is installed in a non default location (#1905)
  • Added dylib extension to dynamic libraries (#1897)
  • Renamed macOS xcresult bundle filename (#1920)
  • DefaultInfo.files_to_run is now used for resolved_tools executables (#1923)

This release is compatible with: 6.0.0

MODULE.bazel Snippet

bazel_dep(name = "rules_apple", version = "2.2.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 = "9e26307516c4d5f2ad4aee90ac01eb8cd31f9b8d6ea93619fc64b3cbc81b0944",
    url = "https://github.com/bazelbuild/rules_apple/releases/download/2.2.0/rules_apple.2.2.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.