Problems with opendiff

Solution 1:

Switch your active developer directory to the correct one as opposed to the one that was chosen (the one in the error message) when brew installed command line tools with:

xcode-select -s /Applications/Xcode.app/Contents/Developer