What's Changed
- environment_plist: lower the entire --platform string by @ma-oli in #2765
- Don't use
cp -c
if src and dst are on different devices when copying dSYMs by @ma-oli in #2766 - Exit with non-0 on errors with
bazel run
of applications by @brentleyjones in #2772 - Add
BAZEL_SIMCTL_LAUNCH_FLAGS
andBAZEL_DEVICECTL_LAUNCH_FLAGS
env variable options by @brentleyjones in #2770 - Fix
bazel run
for applications whendevicectl
returns incomplete data by @brentleyjones in #2769 - Use
bootstatus -b
forbazel run
of a simulator application by @brentleyjones in #2771 - Add ability to collect launch information from
bazel run
by @brentleyjones in #2774 - Allow using
@rules_apple//apple/build_settings:ios_device
with running on simulator by @brentleyjones in #2778 - Use actions.args() for handling remaining actions.run* arguments. by @luispadron in #2779
Full Changelog: 4.1.2...4.2.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.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 = "ef8a5744b2ffff49f47647226f69f0f06522ca2e8a6fa1aaf5d65d5314813c34",
url = "https://github.com/bazelbuild/rules_apple/releases/download/4.2.0/rules_apple.4.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()