Skip to content

Commit

Permalink
fix(ios): remove invalid architecture from framework for adhoc build (#…
Browse files Browse the repository at this point in the history
…11072)

Fixes TIMOB-27261
  • Loading branch information
vijaysingh-axway authored and sgtcoolguy committed Aug 28, 2019
1 parent cc6793a commit 6478814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6370,7 +6370,7 @@ iOSBuilder.prototype.removeFiles = function removeFiles(next) {
}, this);

// remove invalid architectures from TitaniumKit.framework for App Store distributions
if (this.target === 'dist-appstore') {
if (this.target === 'dist-appstore' || this.target === 'dist-adhoc') {
this.logger.info(__('Removing invalid architectures from TitaniumKit.framework'));

const titaniumKitPath = path.join(this.buildDir, 'Frameworks', 'TitaniumKit.framework', 'TitaniumKit');
Expand Down

0 comments on commit 6478814

Please sign in to comment.