Skip to content

Commit

Permalink
fix(macos): fix catalyst build (#13897)
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Aug 24, 2023
1 parent 521a3ee commit 552b835
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ iOSBuilder.prototype.getDeviceInfo = function getDeviceInfo() {
}
}, this);
}, this);
} else if (argv.target === 'macos') {
} else if (argv.target === 'macos' || argv.target === 'dist-macappstore') {
deviceInfo.devices = {};
}
return this.deviceInfoCache = deviceInfo;
Expand Down Expand Up @@ -1276,6 +1276,10 @@ iOSBuilder.prototype.configOptionTarget = function configOptionTarget(order) {
case 'macos':
_t.conf.options['device-id'].required = false;
break;

case 'dist-macappstore':
_t.conf.options['device-id'].required = false;
break;
}
},
default: 'simulator',
Expand Down

0 comments on commit 552b835

Please sign in to comment.