![image.png](https://static.golangjob.cn/230304/26e3a7531bc068b337955c17a587c37c.png)
如图所示,运行任何代码都是这样的报错,有大神遇到过这种问题吗?要怎么解决啊?
Mac上从Go1.18.2升级到1.20.1版本之后运行任何Go程序都报错# command-line-arguments flag provided but not defined: -G
staryjie · · 3951 次点击更多评论
你的macOS 版本是多少?
Go 1.20 is the last release that will run on macOS 10.13 High Sierra or 10.14 Mojave. Go 1.21 will require macOS 10.15 Catalina or later.
#3