Swift 5.1 Support
New Issue Checklist
- [x] I have tried with the latest version of OHHTTPStubs
- [x] I have read the README
- [x] I have read the Using the right Swift Version of
OHHTTPStubsfor your project section - [x] I have searched in the existing issues
- [x] I have read the OHHTTPStubs wiki to see if there wasn't a detailed page talking about my issue
Environment
- version of OHHTTPStubs: 6.2.0
- integration method you are using:
- [x ] Cocoapods
- [ ] Carthage
- [ ] submodule
- [ ] other
- version of the tool you use: 1.7.5
Issue Description
Xcode and Swift 5,1 have both been shipped recently and it would be great to get support added for Swift 5.1.
The project that I am working on using OHHTTPStubs is working in Swift5.0 and Xcode 10.3 but not in Xcode 11 and Swift 5.1
@piers12 - I believe this may be resolved. Versions 8 and 9 both support Xcode 11 and swift 5.x. Let me know if you see otherwise.
it does work with Carthage integration, but doesn't with spm. Xcode 11.4
@jeffctown
Following this topic up, I also get same error message with Carthage and OHHTTPStubs v8.0.
Unfortunately I'm not able to refactor code to v9.0 at the moment, but as a general question: Is there a chance to create builds with BUILD_LIBRARIES_FOR_DISTRIBUTION=yes in order to ensure module stability across newer Swift releases? (feature had been introduced with Swift 5.1 last year)
Ideally not only the newer v9, but also a version 8.0.1 could be provided ...?!
Thanks for support!
New Issue Checklist
- [x] I have tried with the latest version of OHHTTPStubs
- [x] I have read the README
- [x] I have read the Using the right Swift Version of
OHHTTPStubsfor your project section- [x] I have searched in the existing issues
- [x] I have read the OHHTTPStubs wiki to see if there wasn't a detailed page talking about my issue
Environment
version of OHHTTPStubs: 6.2.0
integration method you are using:
- [x ] Cocoapods
- [ x] Carthage
- [ ] submodule
- [ ] other
version of the tool you use: 1.7.5
Issue Description
Xcode and Swift 5,1 have both been shipped recently and it would be great to get support added for Swift 5.1.
The project that I am working on using OHHTTPStubs is working in Swift5.0 and Xcode 10.3 but not in Xcode 11 and Swift 5.1