Skip to content

Commit

Permalink
Update apple_support to fix bazel @ HEAD compat (#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Feb 20, 2024
1 parent e2fdbb2 commit 26f0100
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module(
repo_name = "build_bazel_rules_apple",
)

bazel_dep(name = "apple_support", version = "1.12.0", repo_name = "build_bazel_apple_support")
bazel_dep(name = "apple_support", version = "1.13.0", repo_name = "build_bazel_apple_support")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "rules_swift", version = "1.16.0", repo_name = "build_bazel_rules_swift")
Expand Down
4 changes: 2 additions & 2 deletions apple/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ def apple_rules_dependencies(ignore_version_differences = False, include_bzlmod_
_maybe(
http_archive,
name = "build_bazel_apple_support",
sha256 = "100d12617a84ebc7ee7a10ecf3b3e2fdadaebc167ad93a21f820a6cb60158ead",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.12.0/apple_support.1.12.0.tar.gz",
sha256 = "1c4031e72b456a048d8177f59a5581808c07585fa9e255c6f5fefb8752af7e40",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.13.0/apple_support.1.13.0.tar.gz",
ignore_version_differences = ignore_version_differences,
)

Expand Down
2 changes: 1 addition & 1 deletion test/ios_application_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ ios_application(
bundle_id = "my.bundle.id",
families = ["iphone"],
infoplists = ["Info.plist"],
linkopts = ["-alias", "_main", "_linkopts_test_main"],
linkopts = ["-alias", "_main", "_linkopts_test_main", "-u", "_linkopts_test_main"],
minimum_os_version = "${MIN_OS_IOS}",
provisioning_profile = "@build_bazel_rules_apple//test/testdata/provisioning:integration_testing_ios.mobileprovision",
deps = [":lib"],
Expand Down
2 changes: 2 additions & 0 deletions test/starlark_tests/targets_under_test/macos/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2416,6 +2416,8 @@ macos_command_line_application(
"-alias",
"_main",
"_linkopts_test_main",
"-u",
"_linkopts_test_main",
],
minimum_os_version = common.min_os_macos.baseline,
tags = common.fixture_tags,
Expand Down

0 comments on commit 26f0100

Please sign in to comment.