N P
N P

Reputation: 2619

Unable to build Go application after Mac update

I just updated to High Sierra and now I can't build any GoLang Applications. I get the following error:

> # command-line-arguments
/usr/local/Cellar/go/1.8.3/libexec/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

I have tried

xcode-select --install

and

xcode-select --reset 

But neither have worked, has anyone else encountered this?

Upvotes: 5

Views: 4942

Answers (1)

Spangen
Spangen

Reputation: 4720

I encountered this after upgrade to High Sierra and addressed it with

sudo xcode-select --reset

Upvotes: 7

Related Questions