Skip to content

Commit b69d3ab

Browse files
committed
fix: ignore com.apple.idms.appleid.prd. certs
Closes #510
1 parent c3679e7 commit b69d3ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/codeSign.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,11 @@ export async function findIdentity(namePrefix: CertType, qualifier?: string): Pr
166166
}
167167

168168
// https://github.com/electron-userland/electron-builder/issues/484
169+
//noinspection SpellCheckingInspection
169170
const lines = (await findIdentityRawResult)
170171
.trim()
171172
.split("\n")
172-
.filter(it => !it.includes("(Missing required extension)") && !it.includes("valid identities found") && !it.includes("iPhone "))
173+
.filter(it => !it.includes("(Missing required extension)") && !it.includes("valid identities found") && !it.includes("iPhone ") && !it.includes("com.apple.idms.appleid.prd."))
173174

174175
for (let line of lines) {
175176
if (qualifier != null && !line.includes(qualifier)) {

0 commit comments

Comments
 (0)