. Advertisement .
..3..
. Advertisement .
..4..
When I try to update macOS while doing a git pull command, I have been encountering the following error:
xcrun: error: invalid active developer path
(/Library/Developer/CommandLineTools), missing xcrun at:
/Library/Developer/CommandLineTools/usr/bin/xcrun
How to solve this kind of error: “missing xcrun at: /library/developer/commandlinetools/usr/bin/xcrun”? Please tell me, thanks.
The cause: The error indicates that this Mac does not have the Xcode command line tools installed or that it requires an upgrade. Almost every update or upgrade to the Mac OS results in this issue.
Solution: Installing or upgrading the Xcode Command-line Tools and explicitly accepting the licensing agreement will fix the problem.
The steps via command line to fix the problem:
If the problem remains, continue with a reset using the following command: