Visitar URL original
swift 6 compatablility · Issue #1302 · Quick/Quick · GitHub
Skip to content

swift 6 compatablility #1302

Description

@bukira

Will Quick answer Nimble be updated to support Swift 6 with example of how yo use them?

Activity

  1. younata commented on Oct 10, 2024

    @younata
    Member

    It's on my roadmap, but I've been a bit busy lately & haven't found time to get into this as much as I'd like.
    For Quick, I fear that supporting the swift 6 language mode is going to be quite hard.
    For Nimble, it should be much easier, but still a lot of work.

    The work I've done so far has been more for Nimble than Quick.

    For now, use the Swift 5 language mode for your Quick & Nimble tests. My apologies.

  2. bukira commented on Oct 10, 2024

    @bukira
    Author

    thank you for this, good to know, I shall leave this issue active to others can see it has been asked and answered by you

  3. IMCHO commented on Apr 1, 2025

    @IMCHO

    It seems that this project and Nimble don't have concurrency problems with swift-tool-version 6.0.
    You can update package files with no harm, I think.
    If I'm wrong, let me know.

  4. younata commented on Apr 1, 2025

    @younata
    Member

    It seems that this project and Nimble don't have concurrency problems with swift-tool-version 6.0.
    You can update package files with no harm, I think.
    If I'm wrong, let me know.

    Yes, you can use swift-tools-version 6.0 in your Package.swift, however, you will still need to specify Swift 5 language mode for your unit test targets. Your main targets can still specify Swift 6 language mode, and you can get concurrency checking. I highly recommend turning on Swift 6 language mode for your non-testing targets.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions