• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Varun Kruthiventi

Thoughts, actions, code ...

  • Home
  • About
  • Python
  • Microservices
  • Publications
  • Recommended Books

Fixing Xcode path

May 22, 2021 by Varun Kruthiventi Leave a Comment

xcrun: error: active developer path (“/Applications/Xcode.app/Contents/Developer”) does not exist

Ever faced this issue?

Xcode comes bundled with a set of command-line tools which are required by some of the other tools like gcc or cmake.

But sometimes due to various reasons like uninstalling Xcode or moving the Xcode application to a different path, you might face issues with the Xcode cli.

Best way to fix this?

You can remove the existing Xcode CLI tools with the below command

sudo rm -rf /Library/Developer/CommandLineTools

Later, you can install the tools again

xcode-select --install

Still, facing the issue?

You can try this command to reset the path

sudo xcode-select --reset

Related

Filed Under: Blog, Mac, Xcode Tagged With: Development Tools, iOS, Mac, Xcode

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Footer

Recent Posts

  • 11 things to do after setting up a WordPress site
  • Rewind: South Trip 2019
  • python-alpine and Postgres issues
  • Fixing Xcode path
  • Setting up Ambassador API gateway on Kubernetes

Tags

Ambassador APIs AutoML Computer Vision Conference Paper Development Tools Docker Holidays iOS Kaggle Kubernetes LSTM Mac Microservices ML Neural Network Plugins Python R Security Temples Time Series Travel WordPress WordPress Setup Xcode

Archives

  • November 2021
  • October 2021
  • May 2021
  • September 2019
  • January 2019
  • May 2018

Copyright © 2022 · Varun Kruthiventi