From 53a63718610656465880246b8faa50baf6ed4abe Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Tue, 26 May 2020 11:42:34 +0200 Subject: [PATCH] fix(cordova): Exclude framework headers (#2972) --- 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(`', '`)}'`);