Cannot Run Git xcrun: error: invalid active developer path
I haven't been using Webstorm on this laptop for some time, I just updated it to WebStorm 2018.3.2 and I when I open some project I get:
Cannot Run Git xcrun: error: invalid active developer path
I go to Preferences>Version Control>Git and set the "Path to Git executable" (I am not changing it from what it was before). Then I click the Test button and get
I have installed a new version of Git with this command:
git clone https://github.com/git/git
my Git is now version 2.19.2.
But I am still getting the error.
I have no idea what is wrong.
Please sign in to leave a comment.
This is XCode issue - see the discussion at https://stackoverflow.com/questions/52522565/git-is-not-working-after-macos-mojave-update-xcrun-error-invalid-active-devel
Installing Command Line Tools for Xcode should help