Suppressing Errors/Warnings Outside Target

Is there any way to suppress errors/warnings for files that are still in the project, but not included in the current target?

If they're not in the current target, why do they have errors and warnings?


Current versions of Xcode seem to try to suppress errors outside the current target, but it doesn't seem entirely reliable. I believe that if you clean the build folder (Option + Product -> Clean Build Folder), then Xcode will discard all error messages for all targets, allowing you to start fresh with compilations within the current target only.

I rely on a 3rd party open source framework for part of my iOS app. It's not a direct part of my app target, instead it's a target dependency that I compile as part of my project. Ever since the release of Swift 2.2 this 3rd party framework has been producing hundreds of warnings (clean builds and all). I know that there are other developers working on fixing the code to remove the warnings. However, in the meantime is there anything I can do to silence the warnings of the 3rd party framework so I can concentrate on my own code?

Suppressing Errors/Warnings Outside Target
 
 
Q