What’s Changed
New
- Added support for pre/post actions with
launch_path
: #2866
Adjusted
- Added a failure when
product.original_basename
isn’t set: #2879 - Improved performance of the
files_and_groups
incremental generator: #2870 - Upgraded
xcodeproj_rules_dependencies
rules_apple, rules_swift, and bazel_features: #2882 - Upgraded bazel_features to 1.3.0: #2883
- Removed bitcode support: #2887
Fixed
- Fixed macro expansion for test schemes without launch targets: #2868
- Fixed some args and env setting in incremental generation schemes: #2869
- Fixed SwiftUI Previews link command-line length issue with incremental generation mode: #2878
- Fixed Bazel 6 handling of
libSwiftProtobuf.a
: #2888 - Fixed the command-line API to support all Bazel commands via the
common
pseudo-command: #2889
Ruleset Development Changes
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "1.16.0")
release.tar.gz
’s integrity
: sha256-zMcZhRqZQsU7k1mYQQbp+lxcl9liGzRiQ7Y4sY7Al/k=
Workspace Snippet
Please use the release asset (release.tar.gz
) from your Bazel WORKSPACE
instead of GitHub's source asset to reduce download size and improve reproducibility.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_xcodeproj",
sha256 = "ccc719851a9942c53b9359984106e9fa5c5c97d9621b346243b638b18ec097f9",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/1.16.0/release.tar.gz",
)
load(
"@rules_xcodeproj//xcodeproj:repositories.bzl",
"xcodeproj_rules_dependencies",
)
xcodeproj_rules_dependencies()
load("@bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
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()