Our iOS project includes some craptacular code from a third party that generates dozens of messages during static analysis. So, we add '-Xanalyzer -analyzer-disable-checker' to those files, so that they'll be skipped during analysis.
Unfortunately, more recent versions of swiftc complain about unused arguments passed to the compiler:
Argument unused during compilation: '-Xanalyzer -analyzer-disable-checker'Again generating a bunch of messages (there are a couple dozen files with this).
Is there any way to apply these settings only during static analysis? Or otherwise skip analysis of some of the files?