From 007644fc2afdbfc0705be77ded0b5a1aac1a6116 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Thu, 7 Nov 2024 18:03:27 +0100 Subject: [PATCH 1/2] Update Bazel dependencies --- MODULE.bazel | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index a6fc5f973b0..fc8010bcf7c 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -3,11 +3,11 @@ module(name = "maplibre") bazel_dep(name = "apple_support", version = "1.17.0", repo_name = "build_bazel_apple_support") bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "platforms", version = "0.0.10") -bazel_dep(name = "rules_apple", version = "3.7.0", repo_name = "build_bazel_rules_apple") -bazel_dep(name = "rules_swift", version = "2.1.1", repo_name = "build_bazel_rules_swift") -bazel_dep(name = "rules_xcodeproj", version = "2.7.0") -bazel_dep(name = "aspect_rules_js", version = "2.0.1") -bazel_dep(name = "rules_nodejs", version = "6.3.0") +bazel_dep(name = "rules_apple", version = "3.11.2", repo_name = "build_bazel_rules_apple") +bazel_dep(name = "rules_swift", version = "2.2.3", repo_name = "build_bazel_rules_swift") +bazel_dep(name = "rules_xcodeproj", version = "2.8.1") +bazel_dep(name = "aspect_rules_js", version = "2.1.0") +bazel_dep(name = "rules_nodejs", version = "6.3.2") node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node", dev_dependency = True) node.toolchain(node_version = "20.14.0") From 4ed5c9c086ea3de0fbeaf010b1863f9a0559f434 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Thu, 7 Nov 2024 18:31:38 +0100 Subject: [PATCH 2/2] Use BUNDLE_ID_PREFIX for swiftapp --- platform/ios/app-swift/BUILD.bazel | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/ios/app-swift/BUILD.bazel b/platform/ios/app-swift/BUILD.bazel index 495a52b2c3e..61fbbe8e0ee 100644 --- a/platform/ios/app-swift/BUILD.bazel +++ b/platform/ios/app-swift/BUILD.bazel @@ -3,6 +3,7 @@ load( "@build_bazel_rules_swift//swift:swift.bzl", "swift_library", ) +load("@darwin_config//:config.bzl", "BUNDLE_ID_PREFIX") load("//platform/ios/bazel:provisioning.bzl", "configure_device_profiles") configure_device_profiles() @@ -23,7 +24,7 @@ swift_library( ios_application( name = "MapLibreApp", - bundle_id = "org.maplibre.swiftapp", + bundle_id = "{}.swiftapp".format(BUNDLE_ID_PREFIX), families = [ "iphone", "ipad",