1.4.0
What’s Changed
New
- Added support for
cc_library.implementation_deps
: #1933, #1967, and #2015 - Added the
xcodeproj.bazel_env
attribute: #1990 - Added the
xcodeprojfail_for_invalid_extra_files_targets
attribute: #1977
Adjusted
- Upgraded swift-collections to 1.0.4: #1960
- Spotlight is now prevented from indexing our Bazel output bases: #2013
- Improved target merging: #1902, #1928, and #1946
- Improved CC dynamic linking support: #1943, #1944, #1942, and #1949
- Various project generation performance improvements: #1957, #1958, #1961, #1962, #1972, #1973, #1974, #1976, #1978, #1979, #1980, #1985, #1986, #1998, #2001, #2003, #2004, and #2005
- Builds in Xcode now verify that the requested target ids are still valid: #1982
PATH
is now set to/usr/bin:/bin
whenbazel_path
(e.g.bazel
) is called to generate a project or build inside of Xcode: #1950- To adjust this behavior, set
xcodeproj.bazel_env
.
- To adjust this behavior, set
- Improved progress messages for project generation: #1999 and #2002
- Improved error message when decoding fails: #1975
- You can now the generator label in the command-line API: #2011
Fixed
- Fixed Xcode 14.3 support: #1937 and #1981
- Generating multiple targets in the same workspace now works correctly: #1992, #2000, and #2012
- Fixed some focused targets issues: #1923, #1930, #1983, #1994, #1995, and #1997
- Fixed handling of bzlmod external targets: #1926
- Fixed handling of
--force_pic
: #1939 - Fixed CC optimization level flag calculations: #2017
- Fixed command-line API to work with the
dump
andshutdown
commands: #2019 - Fixed specs collection: #1966
- Fixed BwB test action env variables for custom schemes without launch actions: #1955
- Fixed BwX
swift_debug_settings.py
generation: #1971
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "1.4.0")
release.tar.gz
’s integrity
: sha256-UP5yA3vVEW4vpTnIo3T//hIEmbylKflRWcmtTyaFWw8=
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 = "50fe72037bd5116e2fa539c8a374fffe120499bca529f95159c9ad4f26855b0f",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/1.4.0/release.tar.gz",
)
load(
"@rules_xcodeproj//xcodeproj:repositories.bzl",
"xcodeproj_rules_dependencies",
)
xcodeproj_rules_dependencies()
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()