... tools like SWHttpTrafficRecorder to record network requests into files. This way you can later use those files as stub responses. OHHTTPStubs is split into subspecs so that when using Cocoapods, you can get only what you need, no more, no less. OHHTTPStubs supports Swift 2.2 (Xcode 7), Swift 2.3 (Xcode 8), Swift 3.0 (Xcode 8+) and Swift 3.1 (Xcode 8.3+).