
Engineering
4 min
"zsh: killed" on macOS After Re-downloading a Binary: the Code Signature Cache, and the One-Line Fix
A provider re-ran our Mac install command and every launch of the agent died instantly with "zsh: killed". The binary was fine, the same file ran on other Macs, and there was no crash log. The cause is how macOS caches code signatures per file: curl -o over an existing executable leaves one the kernel refuses to start. Here is how to recognise it, why it happens, and the fix for your install scripts.
macOSapple silicontroubleshooting