Turn off warnings coming from subprojects

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 01:22:32

If you're using Xcode 4.2 or later, you can use LLVM compiler setting Inhibit All Warnings in Warning Polices for every subproject you have:

A partial solution only:

If your subprojects build libraries or bundles that do not have to recompile at every run, you can activate the "recent filer" (see figure, blue clock). Then, only warnings and errors from the last compiler run are displayed.

If the library isn't too big, You could disable warnings on a per-file basis using

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