5

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?

N P
  • 2,319
  • 7
  • 32
  • 54

1 Answers1

6

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

sudo xcode-select --reset
Spangen
  • 4,420
  • 5
  • 37
  • 42
  • 2
    There are some other options at https://stackoverflow.com/questions/32893412/command-line-tools-not-working-os-x-el-capitan-macos-sierra-macos-high-sierra/32894314#32894314 That's where I got my solution from – Spangen Nov 13 '17 at 16:12