Skip to content

Commit bb37687

Browse files
authored
fix: Allow MAS builds to be unsigned if identity: null is explicitly passed (#7382)
1 parent 26a58e9 commit bb37687

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/eleven-trainers-brake.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix: Allow MAS builds to be unsigned if `identity: null` is explicitly passed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export default class MacPackager extends PlatformPackager<MacConfiguration> {
204204
const options = masOptions == null ? this.platformSpecificBuildOptions : masOptions
205205
const qualifier = options.identity
206206

207-
if (!isMas && qualifier === null) {
207+
if (qualifier === null) {
208208
if (this.forceCodeSigning) {
209209
throw new InvalidConfigurationError("identity explicitly is set to null, but forceCodeSigning is set to true")
210210
}

0 commit comments

Comments
 (0)