![]() Xcrun is a command-line tool in macOS that enables developers to locate and execute various developer tools and utilities within the Terminal app. If none of this works for you, feel free to share your error message in the comment section below. But the above solution should fix the error that you are facing. This issue can happen post-OS upgrade and can make services that were running well before, useless. If you have the Xcode app installed, then try running the following command: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer Conclusion: For example, sudo xcode-select -switch /Library/Developer/CommandLineTools This too can work: ![]() If you face permission issues while running any of the above commands, use sudo with the commands. xcode-select -switch /Library/Developer/CommandLineTools 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |