Xcode-select error



I know that you’ve already had this error in the past (Random `Action failed: Select Xcode Version` error).
But today, it’s occurred my builds twice. The error message is the same:

xcode-select: error: invalid developer directory '/Applications/Xcode-8.2.app’
sudo xcode-select --switch /Applications/Xcode-8.2.app && xcodebuild -version returned exit code 1
Action failed: Select Xcode Version


Happening here also