Skip to content

Commit

Permalink
fix(cli): Improve plugin.xml framework detection (#2956)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored May 20, 2020
1 parent 6d1778b commit 8736d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/ios/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function getFrameworkName(framework: any) {
}

function isFramework(framework: any) {
return framework.$.src.split('.').pop() === 'framework';
return framework.$.src.split('.').pop().includes('framework');
}

async function generateCordovaPodspecs(cordovaPlugins: Plugin[], config: Config) {
Expand Down

0 comments on commit 8736d90

Please sign in to comment.