From 4e905046e632b396735b78618fbc01331448f088 Mon Sep 17 00:00:00 2001 From: Cody Date: Tue, 21 Jun 2022 12:53:11 -0500 Subject: [PATCH] fix(mac): allow Mac Developer certs for non Mac App Store builds (#6956) Mac Developer certificates can be used to code sign when not building for the Mac App Store. Fixes #6564 --- .changeset/sweet-radios-stare.md | 5 +++++ packages/app-builder-lib/src/macPackager.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/sweet-radios-stare.md diff --git a/.changeset/sweet-radios-stare.md b/.changeset/sweet-radios-stare.md new file mode 100644 index 00000000000..de3d0b921e9 --- /dev/null +++ b/.changeset/sweet-radios-stare.md @@ -0,0 +1,5 @@ +--- +"app-builder-lib": patch +--- + +fix(mac): allow Mac Developer certs for non Mac App Store builds diff --git a/packages/app-builder-lib/src/macPackager.ts b/packages/app-builder-lib/src/macPackager.ts index 1aefbeaed1b..9d0c788b6ee 100644 --- a/packages/app-builder-lib/src/macPackager.ts +++ b/packages/app-builder-lib/src/macPackager.ts @@ -466,7 +466,7 @@ export default class MacPackager extends PlatformPackager { function getCertificateTypes(isMas: boolean, isDevelopment: boolean): CertType[] { if (isDevelopment) { - return isMas ? ["Mac Developer", "Apple Development"] : ["Developer ID Application"] + return isMas ? ["Mac Developer", "Apple Development"] : ["Mac Developer", "Developer ID Application"] } return isMas ? ["Apple Distribution"] : ["Developer ID Application"] }