diff --git a/connections/c/BUILD b/connections/c/BUILD index debea49d78..0baea2f243 100644 --- a/connections/c/BUILD +++ b/connections/c/BUILD @@ -13,6 +13,7 @@ # limitations under the License. load("//third_party/cpptoolchains/windows_llvm/build_defs:windows.bzl", "windows") +load("//tools/build_defs/apple:apple.bzl", "apple_static_xcframework") package(default_visibility = [ "//connections:__subpackages__", @@ -53,6 +54,29 @@ cc_library( ], ) +apple_static_xcframework( + name = "NearbyConnections", + avoid_deps = [], + bundle_name = "NearbyConnections", + ios = { + "simulator": [ + "arm64", + "x86_64", + ], + "device": [ + "arm64", + ], + }, + minimum_os_versions = { + "ios": "15.0", + }, + deps = [ + ":nc", + "//internal/platform/implementation/apple", + "//internal/platform/implementation/apple/Mediums", + ], +) + windows.cc_windows_dll( name = "nc_windows", srcs = [], diff --git a/internal/platform/implementation/apple/Mediums/BUILD b/internal/platform/implementation/apple/Mediums/BUILD index 21f1c10d4f..5eb6e58dfa 100644 --- a/internal/platform/implementation/apple/Mediums/BUILD +++ b/internal/platform/implementation/apple/Mediums/BUILD @@ -13,7 +13,10 @@ # limitations under the License. licenses(["notice"]) -package(default_visibility = ["//internal/platform/implementation/apple:__subpackages__"]) +package(default_visibility = [ + "//connections:__subpackages__", + "//internal/platform/implementation/apple:__subpackages__", +]) objc_library( name = "Mediums",