Skip to content

Commit

Permalink
fix: Allow MAS builds to be unsigned if identity: null is explicitl…
Browse files Browse the repository at this point in the history
…y passed (#7382)
  • Loading branch information
radex authored Jan 18, 2023
1 parent 26a58e9 commit bb37687
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eleven-trainers-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix: Allow MAS builds to be unsigned if `identity: null` is explicitly passed
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 @@ -204,7 +204,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
const options = masOptions == null ? this.platformSpecificBuildOptions : masOptions
const qualifier = options.identity

if (!isMas && qualifier === null) {
if (qualifier === null) {
if (this.forceCodeSigning) {
throw new InvalidConfigurationError("identity explicitly is set to null, but forceCodeSigning is set to true")
}
Expand Down

0 comments on commit bb37687

Please sign in to comment.