Git Product home page Git Product logo

Comments (9)

mbrandonw avatar mbrandonw commented on June 12, 2024 2

@pm-dev The "exact" option in SPM should really only be used close the root of your application, ideally only the app target, and sparingly even then. It's just that "exact" dependencies make it very easy to run into un-resolvable dependency graphs, and so should be used with care, and only temporarily. So we would never want to do it in TCA.

from swift-composable-architecture.

valodyaios avatar valodyaios commented on June 12, 2024 1

Thanks @alejandro-honor-ed it works for me (added https://github.com/pointfreeco/swift-perception with fixed 1.1.5)

from swift-composable-architecture.

pm-dev avatar pm-dev commented on June 12, 2024 1

Should be fixed now
https://github.com/pointfreeco/swift-perception/releases/tag/1.1.7

from swift-composable-architecture.

mbrandonw avatar mbrandonw commented on June 12, 2024 1

This was also fixed version 1.10.1 of TCA, so you can fix by pinning to TCA 1.10.1 or swift-perception 1.1.7. Sorry for the churn! We tried fixing a problem that only affected people still on iOS 17.0.0 beta, and sadly it caused more problems than it solved.

from swift-composable-architecture.

artemkrachulov avatar artemkrachulov commented on June 12, 2024

Description says https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/observationbackport#Overview

With version 1.7 of the Composable Architecture we have introduced support for Swift 5.9’s observation tools, and we have backported those tools to work in iOS 13 and later. Using the observation tools in pre-iOS 17 does require a few additional steps and there are some gotchas to be aware of.

As I understood it should work out of the box.

from swift-composable-architecture.

valodyaios avatar valodyaios commented on June 12, 2024
Screenshot 2024-04-30 at 17 15 08

I have the same problem. I have been using 1.7.0 version so far, but starting from yesterday the project is no longer possible to build.

This is a critical blocker for the our software team, we are supporting thousands of clients. We might have reliability issue.
We kindly ask you to prioritize this issue and come back to us with a solution as soon as possible.
Your fastest actions are highly appreciated.
Thanks in advance

from swift-composable-architecture.

alejandro-honor-ed avatar alejandro-honor-ed commented on June 12, 2024

Having the exact same issue at the moment and it's critical for us to figure it out since our CI and release train is currently on hold until this is figured out. I'm trying to figure out how to fix it / pin swift-perception to a specific version, but I'll update in a few minutes.

from swift-composable-architecture.

alejandro-honor-ed avatar alejandro-honor-ed commented on June 12, 2024

This made the trick #3028 (comment). I'm on TCA 1.8.0 and I pinned swift-perception to 1.1.1 and that worked perfectly fine.

from swift-composable-architecture.

pm-dev avatar pm-dev commented on June 12, 2024

@mbrandonw is there a case for using "exact" instead of "from" for dependencies? That would have prevented this issue. I suppose using "from" offers additional flexibility in case an app using TCA depends on a different version of swift-perception, so maybe there's tradeoffs here, but worth asking the question.

from swift-composable-architecture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.