Any way for the entire directory to be ignored by the static analyzer in xcode?

I have a project that relies on some external sources, and I would prefer not to change them. The problem is that a large number of warnings are generated from these sources, and also slows down the entire process of starting the analyzer in code.

All these source files that need to be ignored are in the same directory, so it would be convenient to specify the directory as there is no room for the analyzer.

Convenient yes, but maybe?

+3
source share
2 answers

See my answer here . You can add a compilation flag to files, and the static analyzer will ignore them.

, , enter, enter. , , .

+2

, , . ( ), . ( .a) , .

+1

All Articles