123 words
1 minutes
How to fix the xcrun invalid active developer path error in macOS
2022-01-17

How to fix the xcrun invalid active developer path error in macOS#

If you encounter the “xcrun: error: invalid active developer path” error on macOS, it means that the Xcode command line tools are not properly installed. This guide provides steps to fix this error.

Steps to Fix the Error#

  1. Open the Terminal application.
  2. Run the following command to install the Xcode command line tools:
xcode-select --install
  1. Follow the on-screen instructions to complete the installation.
  2. After the installation is complete, verify that the tools are installed correctly by running:
xcode-select -p

If the command returns a valid path, the error should be resolved.

Conclusion#

By following these steps, you can fix the “xcrun: error: invalid active developer path” error and ensure that the Xcode command line tools are properly installed on your macOS system.


How to fix the xcrun invalid active developer path error in macOS
https://zxce3.net/posts/cli/how-to-fix-the-xcrun-invalid-active-developer-path-error-in-macos/
Author
Memet Zx
Published at
2022-01-17