Suppression of warnings in Xcode 7

So far in Xcode 6, I could suppress warnings for some external libraries using pragma directives, for example:

#pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdocumentation" #import "SwiftToObjectiveC-Swift.h" #pragma clang diagnostic pop 

Since I upgraded my project to Xcode 7, these directives do not seem to do anything, I get all the documentation warnings that are on SwiftToObjectiveC-Swift.h. Does anyone have an idea that this could be a problem?

Thanks!

+6
source share

All Articles