golang could not launch process: EOF 错误 mac os

mac os 升级后10.13.3后运行golang出现,  使用GoLand调试:golang

could not launch process: EOFapp

解决方法:调试

sudo rm -rf /Library/Developer/CommandLineToolscode

下载https://developer.apple.com/download/more/get

要登陆下载 Command Line Tools (macOS 10.13) for Xcode 9.2  安装便可登录