I installed the Goland for the Apple silicon and go SDK in the macOS M1 machine. In the terminal I get -
$ go version
go version go1.18.3 darwin/amd64
When I try to debug the go application, I get the following error -
Debugging programs compiled with go version go1.18.3 darwin/amd64 are not supported. Use go SDK for darwin/arm64.
How do I install the go darwin/arm64 SDK in the MacOS?
CodePudding user response:
That's because you downloaded the wrong file because there is a difference between amd64 and arm64, try downloading the arm64 version in the stable version.
ps : please try to uninstall the amd64 version before installing the arm64 version
CodePudding user response:
I installed the correct version from the page -