Silencing “Documentation issue” warnings in Xcode?

眉间皱痕 提交于 2019-12-03 11:48:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!