Skip to content

Commit

Permalink
fix(cordova): Exclude framework headers (#2972)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored May 26, 2020
1 parent ac9c3de commit 53a6371
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/src/ios/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(`', '`)}'`);
Expand Down

0 comments on commit 53a6371

Please sign in to comment.