You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Bazel 7 a new flag: --incompatible_objc_provider_remove_linking_info was added to further delete these link attrs from the ObjcProvider making it an error if the attr is used or set. This will be flipped in a future Bazel version (probably Bazel 8). We should update our rules to conditionally forward ObjcProvider linking information to support this flag.
The text was updated successfully, but these errors were encountered:
luispadron
changed the title
Support --incompatible_objc_linking_info_migration
Support --incompatible_objc_provider_remove_linking_infoApr 10, 2024
ERROR: /Users/lpadron/Development/rules_ios/tests/ios/app-clip/BUILD.bazel:39:16: in dep_middleman rule //tests/ios/app-clip:App.dep_middleman:
Traceback (most recent call last):
File "/Users/lpadron/Development/rules_ios/rules/internal/framework_middleman.bzl", line 267, column 73, in _dep_middleman
objc_provider_fields = objc_provider_utils.merge_objc_providers_dict(providers = objc_providers, merge_keys = [
File "/Users/lpadron/Development/rules_ios/rules/internal/objc_provider_utils.bzl", line 28, column 34, in _merge_objc_providers_dict
transitive = [getattr(provider, key) for provider in providers],
Error in getattr: 'ObjcProvider' value has no field or method 'force_load_library'
In Bazel 7 a new flag:
--incompatible_objc_provider_remove_linking_info
was added to further delete these link attrs from the ObjcProvider making it an error if the attr is used or set. This will be flipped in a future Bazel version (probably Bazel 8). We should update our rules to conditionally forward ObjcProvider linking information to support this flag.The text was updated successfully, but these errors were encountered: