From bb61e946cec7c19b673b611d9a0076fe0db848f8 Mon Sep 17 00:00:00 2001 From: Guogang Li Date: Mon, 3 Mar 2025 12:28:07 -0800 Subject: [PATCH] Fixed issues in iOS framework PiperOrigin-RevId: 733018914 --- connections/c/BUILD | 5 +++++ connections/c/nc.h | 4 ++-- connections/c/nc_types.h | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/connections/c/BUILD b/connections/c/BUILD index 6c419151..f0e53b3f 100644 --- a/connections/c/BUILD +++ b/connections/c/BUILD @@ -72,6 +72,11 @@ apple_static_xcframework( minimum_os_versions = { "ios": "15.0", }, + public_hdrs = [ + ":nc_types.h", + ":nc_def.h", + ":nc.h", + ], deps = [ ":nc", "//internal/platform/implementation/apple", diff --git a/connections/c/nc.h b/connections/c/nc.h index 25913fea..5e2c6a9f 100644 --- a/connections/c/nc.h +++ b/connections/c/nc.h @@ -17,8 +17,8 @@ #include -#include "connections/c/nc_def.h" -#include "connections/c/nc_types.h" +#include "nc_def.h" // NOLINT(build/include) +#include "nc_types.h" // NOLINT(build/include) #ifdef __cplusplus extern "C" { diff --git a/connections/c/nc_types.h b/connections/c/nc_types.h index 50a3cc09..7d62a800 100644 --- a/connections/c/nc_types.h +++ b/connections/c/nc_types.h @@ -15,6 +15,7 @@ #ifndef THIRD_PARTY_NEARBY_CONNECTIONS_C_NC_TYPES_H_ #define THIRD_PARTY_NEARBY_CONNECTIONS_C_NC_TYPES_H_ +#include #include #include