0

I've got this old error:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Side question: why does this error come up from time to time? I could compile my C++ program just fine before. Is this because of a system upgrade?

Anyway, the suggested solution is to run:

xcode-select --install

I guess that would work, except that:

enter image description here

How many hundreds of gigabytes is that exactly? No, my internet connection is not that slow. Since downloading a system update is also unreasonably slow, I blame Apples servers for this.

Now, my question is, are there alternatives? Can I install developer tools via brew for example? Is there a catch, since I already have (probably outdated) Apple developer tools installed?

user1785730
  • 3,150
  • 4
  • 27
  • 50
  • 1
    Does this solve your first problem? https://stackoverflow.com/questions/64489433/xcrun-error-invalid-active-developer-path-problem-after-zsh-update-for-flutte/64619274#64619274 – Faisal Afroz Jul 20 '21 at 00:02
  • You need to sign in with apple id and then you can download directly from here https://developer.apple.com/download/all/?q=xcode – Faisal Afroz Jul 20 '21 at 00:10
  • I don't use xcode, and I'm not an Apple Developer. I'm talking about the command line tools. The compiler, make, git, etc... – user1785730 Jul 20 '21 at 00:39
  • Did you try above link? It already has command Line Tools... Please go through above link first. – Faisal Afroz Jul 20 '21 at 03:02

0 Answers0