xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance
Solution: Type below command in your terminal sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
licecap is the best screen capture tool which works on MAC, Windows operating systems.
It happens because you upgraded to the new version of Xcode. To resolve this, Open up Xcode, and accept the new user agreement.