0

After updating Mac OS to the latest version (Mac Catalina) I am unable to run the command of GIT. When I try anything I will get this below error

 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
pawansgi92
  • 1,065
  • 13
  • 32
  • https://stackoverflow.com/search?q=%5Bgit%5D+xcrun%3A+error%3A+invalid+active+developer+path – phd Nov 07 '19 at 10:33

1 Answers1

1

I am able to find the solution for this by a simple and single command which installs the software again which is required to run the GIT command using the terminal.

xcode-select --install

Run the above command on terminal and popup window open to install the software just follow the setup.It should work

pawansgi92
  • 1,065
  • 13
  • 32