1. After upgrading Xcode8 on some computers, you can use the Command +/ shortcut key to comment the code directly after restarting the computer.
2. If the above method does not work, you can enter sudo /usr/libexec/xpccachectl in the terminal and restart the computer
As for the principle, please refer to http://www.russbishop.net/xcode-extensions