Releases: MobileNativeFoundation/rules_xcodeproj
2.10.0: Bazel 8 support
What’s Changed
⚠️ Breaking changes ⚠️
- “Make” variables are now expanded values in the
env
dictionary on test rules: #3088 - Upgraded rules_apple to 3.16.1: #3114
- Drops support for Bazel 6
New
- Added ExtensionKit support: #3109
Fixed
- Fixed support for Bazel 8 and 9: #3117
Ruleset Development Changes
- Upgraded to Bazel 8.0.0: #3119
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.10.0")
release.tar.gz
’s integrity
: sha256-hHsx77jVC7+ArceeTRIsc2Ym1oqDYiVNNakGW789Z/Q=
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",
integrity = "sha256-hHsx77jVC7+ArceeTRIsc2Ym1oqDYiVNNakGW789Z/Q=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.10.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.9.2
What’s Changed
Since 2.9.1
- Fixed parsing of custom scheme test options: #3110
Below are the changes that were in 2.9.1.
New
Fixed
- Fixed handling of
mixed_language_library
when both targets are unfocused: #3104
Full Changelog
Contributors
- TBD
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.9.2")
release.tar.gz
’s integrity
: sha256-GJAmZRiNMmN/CpGEjO20eMndARx4ByCrRJt4PyQ4BSc=
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",
integrity = "sha256-GJAmZRiNMmN/CpGEjO20eMndARx4ByCrRJt4PyQ4BSc=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.9.2/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.9.1
What’s Changed
Since 2.9.0
- Fixed when
xcschemes.autogeneration_config.test
is not set: #3108
Below are the changes that were in 2.9.0.
New
- Added support for
App Language
andApp Region
scheme test action options: #3105
Fixed
- Fixed handling of
mixed_language_library
when both targets are unfocused: #3104
Full Changelog
Contributors
- TBD
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.9.1")
release.tar.gz
’s integrity
: sha256-4qeMrhA0uWI6QdI86qEX8qoPjjhtHpDdLZulJYToMYM=
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",
integrity = "sha256-4qeMrhA0uWI6QdI86qEX8qoPjjhtHpDdLZulJYToMYM=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.9.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.9.0
What’s Changed
New
- Added support for
App Language
andApp Region
scheme test action options: #3105
Fixed
- Fixed handling of
mixed_language_library
when both targets are unfocused: #3104
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.9.0")
release.tar.gz
’s integrity
: sha256-AbMkBAiszem4tLkYEHzT1qPTnRvXROlBxdCI+x6Q4Y4=
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",
integrity = "sha256-AbMkBAiszem4tLkYEHzT1qPTnRvXROlBxdCI+x6Q4Y4=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.9.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.8.1
What’s Changed
Since 2.8.0
- Fixed missing BUILD files in Project navigator: #3102
Below are the changes that were in 2.8.0.
New
- Added thread checkers to
xcscheme.diagnostics
: #3096
Adjusted
Fixed
- Fixed "Generate Bazel Dependencies" target name typo Fix typo: #3091
- Fixed handling of
apple_precompiled_resource_bundle
and similar rules: #3097 and #3099
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.8.1")
release.tar.gz
’s integrity
: sha256-I3EVPca7ANRry6ozx41PVIikPUc3TUlYe408gKIuuRQ=
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",
integrity = "sha256-I3EVPca7ANRry6ozx41PVIikPUc3TUlYe408gKIuuRQ=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.8.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.8.0
What’s Changed
New
- Added thread checkers to
xcscheme.diagnostics
: #3096
Adjusted
Fixed
- Fixed "Generate Bazel Dependencies" target name typo Fix typo: #3091
- Fixed handling of
apple_precompiled_resource_bundle
and similar rules: #3097 and #3099
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.8.0")
release.tar.gz
’s integrity
: sha256-HqJUyMPmiyhI12pk46r4lEi0fdPxsTmGHPMqU9lS12w=
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",
integrity = "sha256-HqJUyMPmiyhI12pk46r4lEi0fdPxsTmGHPMqU9lS12w=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.8.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.7.0: Merged Xcode Build and Index Build output bases
What’s Changed
⚠️ Breaking changes ⚠️
- Environment variables are now filtered when building with Bazel: #3075, #3077, and #3081
- This shouldn't break anyone, but if it does,
xcodeproj.bazel_env
is the suggested fix
- This shouldn't break anyone, but if it does,
- Only the debug settings from the most-downstream Swift targets are used: #3073
- For this to work best, the library target for a top-level target should be a
swift_library
,mixed_language_library
, or equivalent. Using a non-Swift library can result in now-broken lldb debugging
- For this to work best, the library target for a top-level target should be a
Adjusted
- Aligned the various
--experimental_remote_download_regex
flags: #3076 - Less work is performed when not importing Index Build indexstores: #3078
- The same output base is now used for Xcode Build and Index Build: #3074 and #3080
Fixed
- Fixed target merging involving source-less library targets: #3079
- Fixed unfocused framework target input files filtering: #3085
- Fixed top-level targets merging with
mixed_language_library
: #3082 -const-gather-protocols-file
is now skipped when calculatingSWIFT_OTHER_FLAGS
: #3084
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.7.0")
release.tar.gz
’s integrity
: sha256-b+AKGo9kJFkcN52bTraVuIu6hKlTEe/Y+LAHkhXs29o=
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",
integrity = "sha256-b+AKGo9kJFkcN52bTraVuIu6hKlTEe/Y+LAHkhXs29o=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.7.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.6.1: Co-located generated files
What’s Changed
Since 2.6.1
- Fixed unfocused top-level targets: #3072
Below are the changes that were in 2.6.0.
New
Adjusted
- Generated files are now co-located with package source files: #3049 and #3071
- Headers are now included in
--remote_download_regex
: #3061 and #3062
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.6.1")
release.tar.gz
’s integrity
: sha256-eWX4D5buhP8Xjr3dIgGZZCWS1QWM9f+SqZ9elTi9KsU=
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",
integrity = "sha256-eWX4D5buhP8Xjr3dIgGZZCWS1QWM9f+SqZ9elTi9KsU=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.6.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.6.0: Co-located generated files
What’s Changed
New
Adjusted
- Generated files are now co-located with package source files: #3049 and #3071
- Headers are now included in
--remote_download_regex
: #3061 and #3062
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.6.0")
release.tar.gz
’s integrity
: sha256-Kd9Y38cm622bmTfYKE1eY/7RyVb14TdmiTU00odiVpg=
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",
integrity = "sha256-Kd9Y38cm622bmTfYKE1eY/7RyVb14TdmiTU00odiVpg=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.6.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.5.2: Xcode 16 Beta 3 support
What’s Changed
Since 2.5.1
- Fixed
swiftc
version invocation used in Xcode 16 Beta 3: #3058
Below are the changes that were in 2.5.1.
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
- Fixed permissions on renamed
ld
andlibtool
scripts: #3053
Full Changelog
Contributors
Bzlmod Snippet
bazel_dep(name = "rules_xcodeproj", version = "2.5.2")
release.tar.gz
’s integrity
: sha256-KDd0RSV6TgX4LLQ2vq2log9zU/phoqyzkj6gM8UKN6Q=
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",
integrity = "sha256-KDd0RSV6TgX4LLQ2vq2log9zU/phoqyzkj6gM8UKN6Q=",
url = "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/2.5.2/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()