Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ios): remove invalid architecture from framework for adhoc build #11072

Merged
merged 8 commits into from
Aug 28, 2019
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