Skip to content

Commit a1d86fd

Browse files
authored
fix: Invalid code signing for MAS build due to ordering of certificate check (#7040) (#7089)
1 parent 8166267 commit a1d86fd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/violet-comics-cover.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix: Swaps order of Apple certificate selection to fix publishing the MAS package on Mac Apple Store. (#7040)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,5 +468,5 @@ function getCertificateTypes(isMas: boolean, isDevelopment: boolean): CertType[]
468468
if (isDevelopment) {
469469
return isMas ? ["Mac Developer", "Apple Development"] : ["Mac Developer", "Developer ID Application"]
470470
}
471-
return isMas ? ["3rd Party Mac Developer Application", "Apple Distribution"] : ["Developer ID Application"]
471+
return isMas ? ["Apple Distribution", "3rd Party Mac Developer Application"] : ["Developer ID Application"]
472472
}

0 commit comments

Comments
 (0)