Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git: Error: Unable to read SDK settings for MacOSX.sdk

Error while adding in git after updating to new OS Mojave

Error

git: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'

Error faced in:

  • Device: MacBook Pro (Retina, 13-inch, Early 2013)
  • OS: MacOS Mojave

Screenshot Screen Shot of Terminal

Question

How to solve this error ?

Anyones help will be really appriciated.

like image 214
Prajnaranjan Das Avatar asked Oct 05 '18 12:10

Prajnaranjan Das


1 Answers

CommandLineTools is outdated. The below should fix it.

xcode-select --install 
like image 60
Nayan Bhana Avatar answered Oct 04 '22 04:10

Nayan Bhana