Git: error: SDK "macosx" could not be found

Just upgraded my car to Yosemite. I am getting this error from Git now:

git: error: SDK "macosx" cannot be located

      

I can run git status

without issue, but it looks like git add

but then throws this error. Command line tools installed, I tried to reinstall Git.

+5


source to share


2 answers


Not sure what exactly, but something got out of the way during the update. Uninstall CommandLineTools by typing sudo rm -r /Library/Developer/CommandLineTools

then reinstall. I just typed some git command like: git status

and let the OS prompt me to install CommandLineTools. Now everything is happy.



+18


source


I also got git: error: SDK "macosx" cannot be located

one that brought me to this page.

I also got messages like "too many files open" and "failed to fork".



Shutting down Spotify solved the problem. I haven't reinstalled Git.

0


source







All Articles