From 2fea3433d98347ef97e9fa55cbb3ff1dc365ea06 Mon Sep 17 00:00:00 2001 From: Nick Cooke Date: Sat, 16 Sep 2023 00:29:17 -0400 Subject: [PATCH] [Release Tooling] Explicitly link direct/transitive deps. in FirebaseFirestore.xcframework's module.modulemap --- ReleaseTooling/Sources/ZipBuilder/ModuleMapBuilder.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ReleaseTooling/Sources/ZipBuilder/ModuleMapBuilder.swift b/ReleaseTooling/Sources/ZipBuilder/ModuleMapBuilder.swift index a542f938f8b..8aaba018e9b 100755 --- a/ReleaseTooling/Sources/ZipBuilder/ModuleMapBuilder.swift +++ b/ReleaseTooling/Sources/ZipBuilder/ModuleMapBuilder.swift @@ -46,6 +46,13 @@ struct ModuleMapBuilder { module * { export * } """ + + if module == "FirebaseFirestore" { + content += " link framework " + "BoringSSL-GRPC" + "\n" + content += " link framework " + "gRPC-Core" + "\n" + content += " link framework " + "gRPC-C++" + "\n" + } + for framework in frameworks.sorted() { content += " link framework " + framework + "\n" }