使“文档问题”静音Xcode中的警告? [英] Silencing "Documentation issue" warnings in Xcode?

查看:91
本文介绍了使“文档问题”静音Xcode中的警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如
'@ param'命令用于未附加在函数声明中的注释

此警告是有效的,但是,我正在编译第三方代码,并且希望不必更改原始源。

This warning is valid, however, I am compiling 3rd party code and wish to not have to alter the original source.

我正在运行Xcode 8.2.1。

I am running Xcode 8.2.1.

推荐答案

我能够通过

项目来隐藏这些警告->构建设置-> Apple LLVM 8.1-警告-所有语言,然后将文档注释切换为

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.)

这篇关于使“文档问题”静音Xcode中的警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆