OHHTTPStubs icon indicating copy to clipboard operation
OHHTTPStubs copied to clipboard

Xcode 14 - Warnings related to iOS 11 support (Swift Package Manager)

Open kikeenrique opened this issue 3 years ago • 1 comments

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.

kikeenrique avatar Jul 17 '22 16:07 kikeenrique

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.

kikeenrique avatar Feb 04 '24 13:02 kikeenrique

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!

Liquidsoul avatar Mar 07 '24 12:03 Liquidsoul