Skip to content

Commit

Permalink
fix(mac): allow Mac Developer certs for non Mac App Store builds (#6956)
Browse files Browse the repository at this point in the history
Mac Developer certificates can be used to code sign when not building for the Mac App Store. Fixes #6564
  • Loading branch information
regentcid434 authored Jun 21, 2022
1 parent 14503ce commit 4e90504
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sweet-radios-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix(mac): allow Mac Developer certs for non Mac App Store builds
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/macPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {

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"]
}

0 comments on commit 4e90504

Please sign in to comment.