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
This is the WORKSPACE and BUILD file used. Archive.zip
ERROR: /private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_rules_apple/apple/internal/BUILD:478:18: in environment_plist rule @bu load("@build_bazel_rules_apple//apple:ios.bzl", "ios_application") ild_bazel_rules_apple//apple/internal:environment_plist_ios: Traceback (most recent call last): File "/private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_rules_apple/apple/internal/environment_plist.bzl", line 39, column 23, in _environment_plist legacy_actions.run( File "/private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_rules_apple/apple/internal/utils/legacy_actions.bzl", line 88, column 49, in _run ctx.actions.run(**_kwargs_for_apple_platform(ctx, **kwargs)) File "/private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_rules_apple/apple/internal/utils/legacy_actions.bzl", line 63, column 92, in _kwargs_for_apple_platform execution_requirement_dicts.append(apple_support.action_required_execution_requirements(ctx)) File "/private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_apple_support/lib/apple_support.bzl", line 187, column 5, in _action_required_execution_requirements def _action_required_execution_requirements(): Error: _action_required_execution_requirements() does not accept positional arguments, but got 1 ERROR: Analysis of target '//ios-app:ios-app' failed; build aborted: Analysis of target '@build_bazel_rules_apple//apple/internal:environment_plist_ios' failed
By removing the 'ctx' param in the following line, the build ran as expected: /external/build_bazel_rules_apple/apple/internal/utils/legacy_actions.bzl # Add the execution requirements last to avoid clients overriding this value. execution_requirement_dicts.append(apple_support.action_required_execution_requirements())
The text was updated successfully, but these errors were encountered:
This is for the basic exemplar found at https://docs.bazel.build/versions/3.7.0/tutorial/ios-app.html
Invoking the build per instructions yields the following internal error. Something about the a function signature mismatch.
This is the WORKSPACE and BUILD file used.
Archive.zip
ERROR: /private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_rules_apple/apple/internal/BUILD:478:18: in environment_plist rule @bu load("@build_bazel_rules_apple//apple:ios.bzl", "ios_application") ild_bazel_rules_apple//apple/internal:environment_plist_ios: Traceback (most recent call last): File "/private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_rules_apple/apple/internal/environment_plist.bzl", line 39, column 23, in _environment_plist legacy_actions.run( File "/private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_rules_apple/apple/internal/utils/legacy_actions.bzl", line 88, column 49, in _run ctx.actions.run(**_kwargs_for_apple_platform(ctx, **kwargs)) File "/private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_rules_apple/apple/internal/utils/legacy_actions.bzl", line 63, column 92, in _kwargs_for_apple_platform execution_requirement_dicts.append(apple_support.action_required_execution_requirements(ctx)) File "/private/var/tmp/_bazel_vn50v8w/9436d7f4fd0a1cbeb36c80d117002bf1/external/build_bazel_apple_support/lib/apple_support.bzl", line 187, column 5, in _action_required_execution_requirements def _action_required_execution_requirements(): Error: _action_required_execution_requirements() does not accept positional arguments, but got 1 ERROR: Analysis of target '//ios-app:ios-app' failed; build aborted: Analysis of target '@build_bazel_rules_apple//apple/internal:environment_plist_ios' failed
By removing the 'ctx' param in the following line, the build ran as expected:
/external/build_bazel_rules_apple/apple/internal/utils/legacy_actions.bzl
# Add the execution requirements last to avoid clients overriding this value. execution_requirement_dicts.append(apple_support.action_required_execution_requirements())
The text was updated successfully, but these errors were encountered: