Skip to content

Commit

Permalink
fix: Invalid code signing for MAS build due to ordering of certificat…
Browse files Browse the repository at this point in the history
…e check (#7040) (#7089)
  • Loading branch information
jeanfbrito authored Aug 28, 2022
1 parent 8166267 commit a1d86fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/violet-comics-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix: Swaps order of Apple certificate selection to fix publishing the MAS package on Mac Apple Store. (#7040)
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 @@ -468,5 +468,5 @@ function getCertificateTypes(isMas: boolean, isDevelopment: boolean): CertType[]
if (isDevelopment) {
return isMas ? ["Mac Developer", "Apple Development"] : ["Mac Developer", "Developer ID Application"]
}
return isMas ? ["3rd Party Mac Developer Application", "Apple Distribution"] : ["Developer ID Application"]
return isMas ? ["Apple Distribution", "3rd Party Mac Developer Application"] : ["Developer ID Application"]
}

0 comments on commit a1d86fd

Please sign in to comment.