Releases: MobileNativeFoundation/rules_xcodeproj
2.5.1: rules_swift 2.0 support
What’s Changed
Since 2.5.0
- Fixed permissions on renamed
ld
andlibtool
scripts: #3053
Below are the changes that were in 2.5.0.
Adjusted
- Added support for rules_swift 2.0’s
swift_test
: #3051 - Declared that we support rules_swift compatibility level 2: #3052
- Renamed
ld.sh
told
: #3041 - Renamed
libtool.sh
tolibtool
: #3043 - We now set
ENABLE_DEBUG_DYLIB = NO
until we properly support Xcode 16: #3042
Fixed
- Fixed incremental project generation swift debugging: #3046
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.5.1")
release.tar.gz
’s integrity
: sha256-fOmJemM/moauYzk4zjLheL43hgSt7m7WROQlW5NXYFI=
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 = "7ce9897a633f9a86ae633938ce32e178be378604adee6ed644e4255b93576052",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.5.1/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()
2.5.0: rules_swift 2.0 support
What’s Changed
Adjusted
- Added support for rules_swift 2.0’s
swift_test
: #3051 - Declared that we support rules_swift compatibility level 2: #3052
- Renamed
ld.sh
told
: #3041 - Renamed
libtool.sh
tolibtool
: #3043 - We now set
ENABLE_DEBUG_DYLIB = NO
until we properly support Xcode 16: #3042
Fixed
- Fixed incremental project generation swift debugging: #3046
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.5.0")
release.tar.gz
’s integrity
: sha256-1b61qkteXQw0V+oYwpdNjmF5V9J9d6Jao0ZBgGcBdqc=
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 = "d5beb5aa4b5e5d0c3457ea18c2974d8e617957d27d77a25aa3464180670176a7",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.5.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()
2.4.0
What’s Changed
New
Fixed
- Fixed mistranslation of external sources: #3028
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.4.0")
release.tar.gz
’s integrity
: sha256-T2q4Ysyc5H+rqNJZTZHRBEe+hTnzqKtZ1CHcFfyzFdI=
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 = "4f6ab862cc9ce47faba8d2594d91d10447be8539f3a8ab59d421dc15fcb315d2",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.4.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()
2.3.1
What’s Changed
Since 2.3.0
- Fixed build when
IDEBuildingContinueBuildingAfterErrors
has never been set #3024
Below are the changes that were in 2.3.0.
New
- The "Continue building after errors" setting in Xcode is now respected: #3020
Adjusted
Fixed
- Fixed
associated_extra_files
when multiple targets own the same file: #3023
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.3.1")
release.tar.gz
’s integrity
: sha256-O+vLV3DoUxJsP7rLBlJA41VU4JsxpYSq9ItmTlgf3Qg=
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 = "3bebcb5770e853126c3fbacb065240e35554e09b31a584aaf48b664e581fdd08",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.3.1/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()
2.3.0
What’s Changed
New
- The "Continue building after errors" setting in Xcode is now respected: #3020
Adjusted
Fixed
- Fixed
associated_extra_files
when multiple targets own the same file: #3023
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.3.0")
release.tar.gz
’s integrity
: sha256-ncx5ySGBhTbfTP/3fFruQ7n1PlPX/DOhQC60MzgQRoo=
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 = "9dcc79c921818536df4cfff77c5aee43b9f53e53d7fc33a1402eb4333810468a",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.3.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()
2.2.0
What’s Changed
Fixed
- Fixed handling of multiple
associated_extra_files
per target in incremental generation mode: #3011 - Target dependencies are now adjusted for transitive Xcode Preview targets instead of schemes: #3005
- Expanded
SUPPORTED_PLATFORMS
for application extensions: #3012
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.2.0")
release.tar.gz
’s integrity
: sha256-wK9lA6xkkwDSkI+radQ4Tt2oQerKmE0rtuerxZ4vEcY=
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 = "c0af6503ac649300d2908fab69d4384edda841eaca984d2bb6e7abc59e2f11c6",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.2.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()
2.1.1
What’s Changed
Since 2.1.0
- Upgraded WORKSPACE and dev rules_apple: #3002
- Upgraded dev rules_swift: #3003
- Fixed missing
BAZEL_PACKAGE_BIN_DIR
for non-Swift targets in incremental generation mode: #3004
Below are the changes that were in 2.1.0.
Adjusted
- Added
module.bazel_compatibility
to reflect our minimum supported Bazel version: #2995 - Upgraded WORKSPACE version of rules_swift and rules_apple: #2996
Fixed
- Fixed
extension_host
error when usinglaunch_path
: #2992 - Test hosts are no longer included in schemes when
adjust_schemes_for_swiftui_previews = True
: #2991 - The correct action (e.g. Test or Run) is now set for transitive Xcode Preview dependencies: #2993
Ruleset Development Changes
- Upgraded dev version of rules_swift and rules_apple: #2996
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.1.1")
release.tar.gz
’s integrity
: sha256-w4cknrUOEOiCgdg4tqjUvykKxNBpeAjvA65EL0tWNos=
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 = "c387249eb50e10e88281d838b6a8d4bf290ac4d0697808ef03ae442f4b56368b",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.1.1/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()
2.1.0
What’s Changed
Adjusted
- Added
module.bazel_compatibility
to reflect our minimum supported Bazel version: #2995 - Upgraded WORKSPACE version of rules_swift and rules_apple: #2996
Fixed
- Fixed
extension_host
error when usinglaunch_path
: #2992 - Test hosts are no longer included in schemes when
adjust_schemes_for_swiftui_previews = True
: #2991 - The correct action (e.g. Test or Run) is now set for transitive Xcode Preview dependencies: #2993
Ruleset Development Changes
- Upgraded dev version of rules_swift and rules_apple: #2996
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.1.0")
release.tar.gz
’s integrity
: sha256-pn04vd6/nJZNK1P143Qud+SPryzqXHj7/37DmzWG07g=
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 = "a67d38bddebf9c964d2b53f5e3742e77e48faf2cea5c78fbff7ec39b3586d3b8",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.1.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()
2.0.0: Incremental generation mode enabled by default
What’s Changed
⚠️ Breaking changes ⚠️
- Changed the default value for
xcodeproj.generation_mode
fromlegacy
toincremental
: #2986 - Removed some deprecated attributes: #2988
New
- Environment variables are now resolved in
bazel_env
: #2983 additional_*_inputs
are now collected as extra files in incremental generation mode: #2972swiftc_inputs
are now collected as extra files in incremental generation mode: #2971
Adjusted
- Reduced work that incremental generation mode installer does for generated directories: #2956 & #2965
- The adjusted
Info.plist
is now used forextension_infoplists
in incremental generation mode: #2966 exec
configuration targets are no longer processed in incremental generation mode: #2968
Fixed
- Indentation related
project_options
are now applied in incremental generation mode: #2959 - Uncategorized files are no longer collected for unfocused targets in incremental generation mode: #2960 & #2982
- Uncategorized files are no longer collected for source-less library targets in incremental generation mode: #2969
- The swift generated header is now excluded from the project in incremental generation mode: #2961
codesign_inputs
are now collected as extra files in incremental generation mode: #2970- Fixed
build_mode
to be setbazel
when passed inNone
or""
: #2987
Ruleset Development Changes
- Locked down distribution to a specific Xcode version: #2954
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.0.0")
release.tar.gz
’s integrity
: sha256-ZEARdZYhfJ4Fxp7t1MyKprj+4RkbKrRhckF8yi95FiM=
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 = "6440117596217c9e05c69eedd4cc8aa6b8fee1191b2ab46172417cca2f791623",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.0.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()
1.18.0
What’s Changed
New
- Added support for visionOS: #2922
- Added Ruby file type extension for
Podspec
files: #2932 - Added
literal_string
argument toxcschemes.arg
: #2938
Adjusted
- Upgraded WORKSPACE version of rules_swift to 1.16.0: #2927
--experimental_remote_download_regex
is no longer set by default with the command-line API: #2930- Timing output from
calculate_output_groups.py
is now flushed immediately: #2931 - We now work around when
bazelisk
is called recursively during project generation: #2929 - Made
xcschemes.top_level_anchor_target
work with*_build_test
targets: #2945 & #2949
Fixed
- Fixed Xcode 15.3 LLDB debugging: #2947
- Fixed an error when using an empty or
None
xcschemes.env
value: #2935 - Fixed stale tests with test hosts when deploying to simulator: #2936
explicitFileType
is now correctly set for.bazel
and.bzl
extensions in incremental generation mode: #2928- Fixed performance of
associated_extra_files
with incremental generation mode: #2944 & #2948
Ruleset Development Changes
- Upgrade dev version of rules_swift to 1.16.0: #2927
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "1.18.0")
release.tar.gz
’s integrity
: sha256-hNSObmZAiQeLMq8NRrG3LsM7qsPUpMbTTG3hIHSBens=
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 = "84d48e6e664089078b32af0d46b1b72ec33baac3d4a4c6d34c6de12074817a7b",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/1.18.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()