xcrun error invalid active developer path on mac terminal code example
Example: xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer),
$ sudo xcode-select -r
$ sudo xcode-select --switch /Library/Developer/CommandLineTools