You could set the desired Xcode using this in the terminal:
sudo xcode-select -s <path/to/>Xcode.app
also, for more info, click here
You could set the desired Xcode using this in the terminal:
sudo xcode-select -s <path/to/>Xcode.app
also, for more info, click here