问题
E.g.
'@param' command used in a comment that is not attached to a function declaration
This warning is valid, however, I am compiling 3rd party code and wish to not have to alter the original source.
I am running Xcode 8.2.1.
回答1:
I was able to suppress these warnings by going to
Project -> Build Settings -> Apple LLVM 8.1 - Warnings - All Languages, and switching the "Documentation Comments" to No.
(To find the setting, I typed "Documentation" into the search box under Build Settings.)
来源:https://stackoverflow.com/questions/42991455/silencing-documentation-issue-warnings-in-xcode