diff --git a/packages/app-builder-lib/src/macPackager.ts b/packages/app-builder-lib/src/macPackager.ts index e4e2c95f360..801acfa7054 100644 --- a/packages/app-builder-lib/src/macPackager.ts +++ b/packages/app-builder-lib/src/macPackager.ts @@ -500,7 +500,7 @@ export default class MacPackager extends PlatformPackager { const appleIdPassword = process.env.APPLE_APP_SPECIFIC_PASSWORD // option 1: app specific password - if (appleId || !appleIdPassword) { + if (appleId || appleIdPassword) { if (!appleId) { throw new InvalidConfigurationError(`APPLE_ID env var needs to be set`) }