Open rothskeller opened 1 year ago
CC @golang/release
Thanks for reporting.
We're using Xcode tooling to create a fairly standard macOS installer (see here). This has upsides like providing a familiar, native look and feel, and downsides in that we can only make customizations that are supported.
The "Go cannot be installed on this computer" text isn't coming from our installer directly, the installer automatically reports it based on which architecture(s) are configured to be supported by each installer. This is needed so that e.g. Rosetta isn't incorrectly required for arm64 installer (issue #43422). So the message is accurate, but doesn't take into account that Go provides macOS installers for both amd64 and arm64 architectures.
One idea is we may be able to adjust the text so that something like "Go (for darwin/arm64)" instead of just "Go" is shown. Maybe there's more customization that can be useful (e.g., there's already a custom check to report old macOS version). Otherwise we may need to rely the https://go.dev/dl/ website text to minimize the chance of users selecting a suboptimal installer for their needs.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Accidentally attempted to install the go1.20 installer for ARM64 rather than x86.64.
What did you expect to see?
An error message that I have the wrong installer.
What did you see instead?
An error message saying "Go can't be installed on this computer." This is an inaccurate message; Go can be installed on this computer — it just needs a different installer.