Xcode 14 - Warnings related to iOS 11 support (Swift Package Manager)
Checklist
- [x] I've checked that all new and existing tests pass
- [x] I've updated the documentation if necessary
- [x] I've added an entry in the CHANGELOG to credit myself
Description
Hi, I would like to contribute fixing a recent warning.
The new Xcode 14 uses next SDKs as base: iOS 11.0, macOS 10.13, watchOS 4.0 and tvOS 11.0. Compiling in this Xcode shows a warning. Handle this restrictions relying on swift version (which is also vinculated to each Xcode version).
Regards and comments welcomed
Motivation and Context
Fixes a warning
Run project tests and compile on each platform.
I think as half of the changes are already included in https://github.com/AliSoftware/OHHTTPStubs/pull/361 this PR could be discarded when the other is merged.
Thank you for your contribution!
Since #361 was merged I am closing this. If some of these changes are still required, please do not hesitate to open another PR!