When using Xcode analysis (product>analyze) is there a way of ignoring any errors in a given file?

Eg a pragma or something?

We just want to ignore any warnings on third party code, so that it's more obvious to us when there's a problem in our code.

Thanks