xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist code example
Example 1: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
sudo xcode-select --reset
Example 2: xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer),
$ sudo xcode-select -r
$ sudo xcode-select --switch /Library/Developer/CommandLineTools