'Get Doxygen to show Xcode compile errors if documentation is missing

I have been successful with this in the past but now I can't seem to find the setting that tells Xcode or Doxygen (or both) to display compile errors if documentation is missing. I have looked at the Apple documentation that tells how to create docsets and that works fine but Xcode does not throw compiling errors on missing comments in the source code. Anyone know how to get this turned on?

Thanks, Rob



Solution 1:[1]

To make Doxygen generate error when documentation is missing, you have theses options:

  • WARNINGS
  • WARN_IF_UNDOCUMENTED
  • WARN_IF_DOC_ERROR
  • WARN_NO_PARAMDOC

In Xcode, you can launch Doxygen with a Run Script build phase. In the "Build Results", every line that begins with "Warning:" will be highlighted in Xcode.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Iulian Onofrei