From 29cb57d53f687f40224e5f84a5dfd9e8a7d3e171 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Fri, 22 May 2020 19:59:15 +0200 Subject: [PATCH] fix(cordova): Exclude framework headers --- cli/src/ios/update.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/src/ios/update.ts b/cli/src/ios/update.ts index dc3c311884..6ec1176a47 100644 --- a/cli/src/ios/update.ts +++ b/cli/src/ios/update.ts @@ -219,6 +219,7 @@ async function generateCordovaPodspec(cordovaPlugins: Plugin[], config: Config, } if (customFrameworks.length > 0) { frameworkDeps.push(`s.vendored_frameworks = '${customFrameworks.join(`', '`)}'`); + frameworkDeps.push(`s.exclude_files = 'sources/**/*.framework/Headers/*.h'`); } if (sourceFrameworks.length > 0) { frameworkDeps.push(`s.vendored_libraries = '${sourceFrameworks.join(`', '`)}'`);