pridestar.blogg.se

Xcrun: error: invalid active developer path
Xcrun: error: invalid active developer path








xcrun: error: invalid active developer path

Personally, it's kind of ridiculous that the command line tools aren't installed by default but, anyway. In my case, I was simply cloning a repository with Git and it worked as expected. The installation will take a while, once it finishes, launch a new terminal (close any opened terminal) and try doing whatever you were doing before. Running this command will print the following text in the terminal: xcode-select: note: install requested for command line developer toolsĪnd will launch a prompt asking for confirmation to install the command line developer tools, be sure to install it: To solve this problem, simply run the following command in your terminal: xcode-select -install

xcrun: error: invalid active developer path

The exception is caused because of the missing developer command line tools in your system. So I had to mess up directly with the command line. Some developers have claimed that this prevent this kind of error from appearing:Īlthough some people say that updating XCode fix their problem, it didn't work in my case. Be sure to update XCode to its latest version.

#XCRUN: ERROR: INVALID ACTIVE DEVELOPER PATH HOW TO#

After some research I ended up with a solution and I want to share with you the cause of this problem and how to solve it. This time, I tried to simply clone a repository using Git and the error showed up. I didn't touch my mac for a while and suddenly when I try to work doing something very basic on it, the task surprisingly fails.










Xcrun: error: invalid active developer path