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

后端 未结 2 1385
[愿得一人]
[愿得一人] 2020-12-29 17:33

Error while adding in git after updating to new OS Mojave

Error

git: error: unable to read SDK settings for \'/Library/Developer/CommandLine

相关标签:
2条回答
  • 2020-12-29 18:36

    Since I had just updated Xcode (using the AppStore) I had to open Xcode and let the installer finish some configuration work before Visual Studio for Mac would successfully compile my Android application again.

    I thought this was weird because my solution did not include any projects targeting iOS. The solution contained just a few .NET Core library projects and an Android APK.

    I also had to run the 'xcode-select --install' command.

    0 讨论(0)
  • 2020-12-29 18:39

    CommandLineTools is outdated. The below should fix it.

    xcode-select --install
    
    0 讨论(0)
提交回复
热议问题