I just updated to Xcode 8 Beta 4 and the shortcut cmd
+ /
to comment a line is not working..
In the dropdown menu it\'s disabled:
<
If Cmd-/
still doesn't work in Xcode 8 on an OS X 10.11 (and apparently on a macOS Sierra - thanks to @DanBlakemore), and sudo /usr/libexec/xpccachectl
and a reboot didn't help, try the following.
/Applications
in Finder, and rename Xcode.app
to Xcode2.app
(or any other name).Xcode.app
, and relaunch.It should work now.
The problem seems to be that for whatever reason the system "uninstalls" Xcode extensions at some point, and won't "install" them again. This can be checked by opening Console, and grepping for INSTALL
. If you have INSTALLED
/UNINSTALLED
for com.apple.dt.XcodeBuiltInExtensions
, it won't work if UNINSTALLED
was the last action on it, and will work it if was INSTALLED
.
Figured this out when debugging an Xcode 8 extension.