Renuka Pandey
Renuka Pandey

Reputation: 1810

Add Documentation is disabled in Xcode 8

Why "Add Documentation" is disabled in Xcode 8.2? How can I enable it?

enter image description here

Upvotes: 3

Views: 1136

Answers (3)

bteapot
bteapot

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

bretto
bretto

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

Nitin Gohel
Nitin Gohel

Reputation: 49720

For the making it enable you need to select code first like following gif and you can add documentation based on selection.

enter image description here

Upvotes: 0

Related Questions