I think we should use `__IPHONE_OS_VERSION_MAX_REQUIRED >= 70000` (SDK version) here instead, to compile that code whatever the Deployment Target is (but only if the user is compiling with SDK 7 as `NSURLSession` is not defined in the SDK headers before that version of course)

And then test for the availability of the `NSURLSessionConfiguration` class at runtime (using `if ([NSURLSessionConfiguration class])` as described in Apple's "SDK Compatibility Guide") in the implementation, to only execute the code when the user's device is running on iOS6 or below.

_This way `OHHTTPStubs` will still be usable with projects targeting iOS6 or below; and those projects could even (conditionally of course) use `NSURLSession` capability (in an `if` block testing for the class availability at runtime)_