Mac is a nice computer for developing, MacOS and Apple can make your developer life a challange. Published by Tobias Hofmann on NovemNovember 27, 2017. You can easily fix this problem updating the developer directory to the Xcode.app like this: sudo xcode-select -s /Applications/Xcode. xcrun: error: invalid active developer path. This error occurs when the xcode-select developer directory was pointing to /Library/Developer/CommandLineTools when a full regular Xcode was required (happens when CommandLineTools are installed after Xcode). git git fetch xcrun error xcrun: error: invalid active developer path (/Library. If you are working with Node.js and some module that requires node-gyp, you may find the following warning in your terminal: xcode-select: error: tool 'xcodebuild' requires Xcodeīut active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Solution for xcode-select: error: tool 'xcodebuild' requires Xcode 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.
CAKEBREW INVALID ACTIVE DEVELOPER PATH INSTALL
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 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.
CAKEBREW 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. To keep track of his forces, Saruman distributes seeing stones, known as palant. 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. Description Saruman the White must lead his army along a straight path from Isengard to Helm’s Deep.