Skip to content

Commit

Permalink
fix(ios): dont run simulator detection for macos builds
Browse files Browse the repository at this point in the history
Fixes TIMOB-28544
  • Loading branch information
ewanharris committed Oct 21, 2021
1 parent 2b86926 commit ead1713
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 @@ -2013,7 +2013,7 @@ iOSBuilder.prototype.validate = function validate(logger, config, cli) {
},

function selectDevice(next) {
if (cli.argv.target === 'dist-appstore' || cli.argv.target === 'dist-adhoc') {
if (cli.argv.target.startsWith('dist') || cli.argv.target === 'macos') {
return next();
}

Expand Down

0 comments on commit ead1713

Please sign in to comment.