Reputation: 1810
Why "Add Documentation" is disabled in Xcode 8.2? How can I enable it?
Upvotes: 3
Views: 1136
Reputation: 2027
It's ridiculous that it still happens even with Xcode 10.1. And it have a ridiculous solution:
Exit Xcode, then rename Xcode.app
to something else like Xcode1.app
, then back to Xcode.app
. For Appstore version you will be asked for admin password.
Upvotes: 0
Reputation: 71
This issue seems to appear randomly for myself as well. The only surefire way I've found to re-enable it is to run
sudo /usr/libexec/xpccachectl
in the terminal and restart my computer.
Upvotes: 1
Reputation: 49720
For the making it enable you need to select code first like following gif and you can add documentation based on selection.
Upvotes: 0