

The above command should fix the issue if it doesn't run the following command too: xcode-select -resetĪlthough this will fix your issue, as a follow-up step, you may need to set the path for the command line tools to run without Xcode. dmg file for the command line tools package specifically from the Apple developer page. If you are shown that the download requires 7GB+ of space, then be aware you are being forced to download the Xcode Application, in that case, download the. When you run this command you will be prompted to accept the license, agree with the terms and conditions, etc. This is the command which can be run in the terminal and will install the command line tools for Xcode. If you don't want to download anything and just want to run some commands in the terminal to fix this issue, then here's the command for you: xcode-select -install The Solution for Mac OS: xcrun: error: invalid active developer path, missing xcrun: You can download it from the Apple developers page.

If you don't use it, like me, you can simply search for the Command Line Tools package for Xcode and download the. If you are into iOS App development, you can install the complete version and it will solve this issue as well. Either you have never installed it on your Macbook or it got uninstalled during any OS update. The reason you are seeing :Mac OS: xcrun: error: invalid active developer path, missing xcrun" error is that your system doesn't have Xcode installed.
