Commit 14e9bc0
committed
fix(macos): remove entitlements from Go binary signing
Go CLI binaries don't need entitlements like Electron apps do.
The error 'AMFIUnserializeXML: syntax error' occurred because
Electron app entitlements (app-sandbox, allow-jit, camera access)
are not applicable to standalone CLI executables.
CLI tools only need:
- Code signing identity
- Hardened runtime (--options runtime)
- Timestamp for notarization
This is the standard approach for signing Go binaries on macOS.
https://claude.ai/code/session_01U9NtT9hmX68VAbYp5x2Pi11 parent 19cc470 commit 14e9bc0
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | 358 | | |
360 | 359 | | |
361 | 360 | | |
362 | 361 | | |
363 | 362 | | |
364 | 363 | | |
365 | 364 | | |
366 | | - | |
367 | 365 | | |
368 | 366 | | |
369 | 367 | | |
| |||
0 commit comments