From 217d9c328c60b0d9583c1aa0f9d88638c230a7cf Mon Sep 17 00:00:00 2001 From: Algis Dumbris Date: Mon, 19 Jan 2026 18:46:38 +0200 Subject: [PATCH] fix: add hostArchitectures to PKG Distribution.xml to prevent Rosetta prompt The macOS PKG installer was incorrectly prompting users to install Rosetta on Apple Silicon Macs, even though all binaries are native arm64. When using productbuild with a custom Distribution.xml, macOS Installer does not auto-detect architecture support. Without the hostArchitectures attribute, it assumes Rosetta is required. Adding hostArchitectures="arm64,x86_64" to the element tells macOS Installer that the package supports both architectures natively, eliminating the unnecessary Rosetta prompt on ARM Macs. This is a known issue that affected fish-shell, PowerShell, and other projects using custom Distribution.xml files. Co-Authored-By: Claude Opus 4.5 --- scripts/create-pkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-pkg.sh b/scripts/create-pkg.sh index f30342d5..bd9a95d3 100755 --- a/scripts/create-pkg.sh +++ b/scripts/create-pkg.sh @@ -268,7 +268,7 @@ cat > "$TEMP_DIR/Distribution.xml" << EOF MCP Proxy ${VERSION#v} com.smartmcpproxy - +