Tags: bazel-ios/rules_ios
Tags
Add Jonathan Schear as a maintainer (#950) Trying to figure out why the release automation isn't publishing to BCR; current theory is we're missing a maintainer with a Github username, or the trailing comma in the maintainers list is a problem. Whatever the case, add me 😄
Remove unused rules_swift repos (#942) In bazelbuild/rules_swift#1504 the index-import repository name was changed. rules_ios depends on the old name and thus breaks builds. It looks like these deps are unused (probably after we got rid of xcodeproj rules). This fixes builds in rules_xcodeproj: MobileNativeFoundation/rules_xcodeproj#3162
Remove references to objc_provider and remove force_load_direct_deps … …to support rules_apple > 3.15.0 (#934) 1) With rules_apple removing legacy objc_providers, rules_apple > 3.15.0 is no longer compatible with rules_ios due to bazelbuild/rules_apple#2611 2) Removing force load direct deps as its no longer needed in Bazel 7 #862 ```sh ERROR: /Users/ssarad/Bazel/BUILD.bazel:3:15: in apple_framework_packaging rule Traceback (most recent call last): File "/Users/ssarad/.bazel_cache/output/external/rules_ios~/rules/framework.bzl", line 1109, column 48, in _apple_framework_packaging_impl bundle_outs = _bundle_dynamic_framework(ctx, is_extension_safe = is_extension_safe, avoid_deps = avoid_deps) File "/Users/ssarad/.bazel_cache/output/external/rules_ios~/rules/framework.bzl", line 888, column 44, in _bundle_dynamic_framework partials.framework_provider_partial( File "/Users/ssarad/.bazel_cache/output/external/rules_apple~/apple/internal/partials/framework_provider.bzl", line 94, column 5, in framework_provider_partial def framework_provider_partial( Error: framework_provider_partial() got unexpected keyword argument: objc_provider ``` This PR is attempt to make rules_ios compatible with rules_apple + remove the legacy code to force load direct deps as with Bazel 7, `--incompatible_objc_alwayslink_by_default` does the same thing. --------- Co-authored-by: Sarad <[email protected]>
Remove use of struct.to_json() (#936) Bazel 8 does not appear to support struct.to_json() anymore, so remove its usage in vfs_overlay. It appears this API has been around since at least 6.5 (https://bazel.build/versions/6.5.0/rules/lib/core/json), so changing to it shouldn't be an issue.
Avoid calling to_list in _get_cc_info_linker_inputs for performance (#… …930) This is slow for very large targets and slows down `_apple_framework_packaging_impl`. Before:  After: 
Fix unit test attr forwarding (#927) The `test.bzl` macros were incorrectly forwarding some of the attrs like `features`. This was leading to silent errors where things passed via `features` were dropped (such as main thread checking). This PR fixes the macro by properly forwarding ALL supported unit test attrs to the unit test rule.
Ensures the determinism of vfsoverlay file (#912) hdrs, private_hdrs and swiftmodules of the same framework may be in different order when building with different build settings in Bazel 7. This change will ensure that the vfsoverlay file will be always the same for the same dependency graph.
PreviousNext