Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • I already see it as shown in the above image, but I still see the same error on my setup. I even tried resetting. Any idea? I
    – Yoku
    Commented Nov 12, 2018 at 13:29
  • 6
    To do this programmatically (I had the error because I uninstalled Xcode), sudo xcode-select --switch /Library/Developer/CommandLineTools (needs to be run as root)
    – hbrannan
    Commented Apr 15, 2019 at 17:32
  • I had to restart my IDE after I did this and then it worked.
    – ponder275
    Commented Oct 11, 2021 at 14:41
  • The comment above is what fixed it for me Commented Dec 14, 2022 at 22:06