Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: bazel-ios/rules_ios

Tags

6.0.1

Toggle 6.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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 😄

6.0.0

Toggle 6.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

5.6.0

Toggle 5.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

5.5.1

Toggle 5.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Handle multiple alwayslink error in objc_library (#938)

5.5.0

Toggle 5.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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]>

5.4.0

Toggle 5.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

5.3.0

Toggle 5.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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:
![Screenshot 2024-12-03 at 2 51
43 PM](https://github.com/user-attachments/assets/ad253422-9afb-4fed-aab9-cb835f9fe17b)



After:
![Screenshot 2024-12-03 at 2 53
10 PM](https://github.com/user-attachments/assets/c3a79512-dae1-4bbb-812a-fa469725528d)

5.2.0

Toggle 5.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

5.1.0

Toggle 5.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

5.0.0

Toggle 5.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Handle `swift.swift_disable_import_underlying_module` in `features` (#…

…892)

When the `swift.swift_disable_import_underlying_module` is provided via
the `features` attr this would previously do nothing, now it properly
stops using `-import-underlying`