Commit b640020
fix: add hostArchitectures to PKG Distribution.xml to prevent Rosetta prompt (smart-mcp-proxy#268)
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 <options> 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 <noreply@anthropic.com>1 parent 4fb4329 commit b640020
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
0 commit comments