AliSoftware / OHHTTPStubs

Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
MIT License
5.03k stars 601 forks source link

Swift5 Support #307

Closed jeffctown closed 5 years ago

jeffctown commented 5 years ago

Checklist

Description

Updating for Swift 5. Started by @CRoig in #306.

Motivation and Context

Updating project to Swift 5.0 removes a Carthage warning when updating packages using XCode 10.2.

*** Skipped installing OHHTTPStubs.framework binary due to the error: "Incompatible Swift version - framework was built with 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1) and the local version is 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3). I built OHHTPPStubs using Carthage using Swift 5.0. Warning is not longer appearing. Also I verified the changes did not break any existing unit test.