change xcrun developer path
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Use xcode-select -switch
to choose which version of Xcode you're using by default.
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Use xcode-select -switch
to choose which version of Xcode you're using by default.