Skip to content

Swift 5.1 Support #317

Open
Open

Description

@piersebdon

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

Activity

  1. jeffctown commented on Jan 27, 2020

    @jeffctown
    Collaborator

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

  2. msavula commented on Mar 27, 2020

    @msavula

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

  3. rockebee commented on Apr 29, 2020

    @rockebee

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

  4. SeanAshley5 commented on Aug 15, 2020

    @SeanAshley5

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions