The problem is my app target is iOS 7.0 I'm using SDK 8.1 to build app with Xcode. And getting no warnings, no errors on methods available in SDK 8.+ only.
this compiles easy:
if ([test containsString:@"CRASH"]) {
test = @"this code will never run on iOS 7";
}
Is there a way to crash a build If Im building an app for iOS 7.0 and using any methods available only since SDK 8? Ideally, If I'm using anything from "future" SDK versions?