OHHTTPStubs icon indicating copy to clipboard operation
OHHTTPStubs copied to clipboard

Swift 5.1 Support

Open piersebdon opened this issue 6 years ago • 4 comments

New Issue Checklist

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

piersebdon avatar Sep 25 '19 15:09 piersebdon

@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.

jeffctown avatar Jan 27 '20 12:01 jeffctown

it does work with Carthage integration, but doesn't with spm. Xcode 11.4

msavula avatar Mar 27 '20 13:03 msavula

@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!

rockebee avatar Apr 29 '20 16:04 rockebee

New Issue Checklist

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

SeanAshley5 avatar Aug 15 '20 21:08 SeanAshley5