From 5032601cc88d047831b1058b89859c7b8ab9a689 Mon Sep 17 00:00:00 2001 From: alsyah Date: Mon, 20 Jul 2026 19:13:42 +0700 Subject: [PATCH] fix: Remove --bytecode flag to fix Mach-O signing corruption on M4 The --bytecode flag in bun build --compile produces structurally corrupted Mach-O binary headers on Apple Silicon (M4), causing macOS Gatekeeper to SIGKILL the process. Removing the flag restores standard binary format compatibility. Co-Authored-By: Claude Opus 4.6 --- scripts/build.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/build.ts b/scripts/build.ts index b74db9233..af86003c7 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -170,7 +170,6 @@ const cmd = [ '--outfile', outfile, '--minify', - '--bytecode', '--packages', 'bundle', '--conditions',