Why is "generate comment" button grayed out?
- I'm running macOS Tahoe Beta 2, Xcode 26 Beta 2
- Apple intelligence on both system preferences as well as Xcode are enabled
- Created fresh Xcode project to test it (happens on my older project too)
- Xcode Preferences -> Editing -> Automatically generate string catalog comments (tried with ON/OFF)
- Tried to CMD+B to re-index project
Not sure what else to try.
Hello,
-
The string must be automatically managed rather than manually added. Automatic strings are added to the Catalog automatically from strings in source code. Check the “Managed” picker in the Attributes Inspector.
-
There must be at least one detected Swift usage of the string in source code. See the Attributes Inspector for detected usages.