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

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/sweet-radios-stare.md

+5
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

+1-1
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)