[MacOS]Fix “xcrun: error: invalid active developer path”

When you update your MacOS version and the xcode, you may encounter the following error:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

The solution is fairly simple. Just run the below command in your terminal.

xcode-select –install

[OSXTips]Terminal issues

If you find these following errors in MacOSX terminals, then the reason might be a corrupted “terminfo” directory. These issues affect all types of terminal such as iterm2, oh-my-zsh etc. Luckily the fix is pretty simple.

  • Error opening terminal: xterm-256color.
  • tput: unknown terminal “unknown”
  • zsh: can’t find terminal definition for xterm
  • E558: Terminal entry not found in terminfo

Read More »