Go1.18: Debugging programs compiled with go version go1.18 darwin/amd64 is not supported. Use go sdk for darwin/arm64

Viewed 1909

after i upgrade my go version up to 1.18 from 1.17, when i using goland to debug , the goland give me a feedback that: Debugging programs compiled with go version go1.18 darwin/amd64 is not supported. Use go sdk for darwin/arm64.

is anybody have the same question? please give me some tips to fix it, Thanks ~~

1 Answers

Need to revert to golang 1.17. I've run into several issues with 1.18 darwin/arm64 and they don't seem to be fixing them very fast.
https://go.dev/doc/manage-install

Related