I can no longer build Qt project after updating to Xcode 8 today. I get the following error despite having followed the instructions from this answer.
Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
How to fix it?