Commit 23a70b0
committed
fix: handle already-signed ONNX Runtime libraries in macOS signing
The ONNX Runtime dylib files from Microsoft may already be signed,
which causes code signing to fail. This commit adds logic to:
1. Check if libraries are already signed
2. Use --force flag to replace existing signatures
3. Add verbose output for debugging
4. Verify signatures with --deep --strict flags
This ensures our certificate is applied even if Microsoft's signature
is present, which is necessary for notarization.1 parent 6bb042f commit 23a70b0
1 file changed
+25
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
333 | 350 | | |
334 | 351 | | |
| 352 | + | |
335 | 353 | | |
336 | 354 | | |
337 | 355 | | |
| |||
0 commit comments