Skip to content

Commit 4e90504

Browse files
authored
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
1 parent 14503ce commit 4e90504

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/sweet-radios-stare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix(mac): allow Mac Developer certs for non Mac App Store builds

packages/app-builder-lib/src/macPackager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
466466

467467
function getCertificateTypes(isMas: boolean, isDevelopment: boolean): CertType[] {
468468
if (isDevelopment) {
469-
return isMas ? ["Mac Developer", "Apple Development"] : ["Developer ID Application"]
469+
return isMas ? ["Mac Developer", "Apple Development"] : ["Mac Developer", "Developer ID Application"]
470470
}
471471
return isMas ? ["Apple Distribution"] : ["Developer ID Application"]
472472
}

0 commit comments

Comments
 (0)