diff --git a/iphone/cli/commands/_build.js b/iphone/cli/commands/_build.js index b9641650c75..0dee04a1307 100644 --- a/iphone/cli/commands/_build.js +++ b/iphone/cli/commands/_build.js @@ -1905,7 +1905,7 @@ iOSBuilder.prototype.validate = function validate(logger, config, cli) { }, this); // if in the prepare phase and doing a device/dist build... - if (cli.argv.target !== 'simulator' || cli.argv.target !== 'macos') { + if (cli.argv.target !== 'simulator' && cli.argv.target !== 'macos') { // make sure they have Apple's WWDR cert installed if (!this.iosInfo.certs.wwdr) { logger.error(__('WWDR Intermediate Certificate not found') + '\n');