Commit 1aaf495
committed
fix: Handle Developer ID certificate types for PKG signing
PKG signing with productsign requires "Developer ID Installer" certificate,
not "Developer ID Application" certificate. Updated scripts to:
- Check certificate type before attempting productsign
- Only sign PKG if proper Installer certificate is available
- Log clear warnings when using unsigned PKG
- App bundle inside PKG remains signed with Application certificate
This resolves the CI error: "productsign: error: Could not find appropriate
signing identity for 'Developer ID Application'"1 parent b911e5e commit 1aaf495
2 files changed
Lines changed: 36 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
524 | | - | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
525 | 526 | | |
526 | 527 | | |
527 | 528 | | |
| |||
533 | 534 | | |
534 | 535 | | |
535 | 536 | | |
536 | | - | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
537 | 543 | | |
538 | 544 | | |
539 | 545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
328 | 329 | | |
| 330 | + | |
| 331 | + | |
329 | 332 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
335 | 338 | | |
336 | | - | |
337 | | - | |
| 339 | + | |
| 340 | + | |
338 | 341 | | |
339 | | - | |
340 | | - | |
341 | | - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
342 | 345 | | |
343 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
344 | 359 | | |
345 | 360 | | |
346 | | - | |
| 361 | + | |
347 | 362 | | |
348 | 363 | | |
349 | 364 | | |
| |||
0 commit comments