Coder Social home page Coder Social logo

Comments (10)

stephencelis avatar stephencelis commented on August 27, 2024

@CraigSiemens The dependency isn't strict, so you should be able to update your application's dependencies to take on the latest version, which doesn't have this problem. We'll look into a forced upgrade in the next version, though.

from combine-schedulers.

CraigSiemens avatar CraigSiemens commented on August 27, 2024

Yeah, that's what I needed to do to resolve it. But if the Package.swift was updated to require >= 0.2 then it'd be done automatically and wouldn't need to be manually updated.

from combine-schedulers.

stephencelis avatar stephencelis commented on August 27, 2024

@CraigSiemens We'll do that with our next release, for sure.

from combine-schedulers.

mRs- avatar mRs- commented on August 27, 2024

any news on this, or is there a fork that I can use in the meantime? Can't compile currently my code for the AppStore...

from combine-schedulers.

mRs- avatar mRs- commented on August 27, 2024

fixed in #42

from combine-schedulers.

mbrandonw avatar mbrandonw commented on August 27, 2024

We'll merge and tag once tests pass, but for future reference you can update your packages without waiting for us to cut releases by right clicking the package in Xcode and selected "Update package":

image

This is the preferred way to update because you don't need to wait for us to cut releases for xctest-dynamic-overlay, and then combine-schedulers, and then TCA, on and on...

from combine-schedulers.

mRs- avatar mRs- commented on August 27, 2024

The main Problem is the Package.resolved in the xctest-dynamic-overlay Package, it's pinning the version and Xcodes things that this specific version should be checked out. I removed that as well.

I know it's possible to update single packages, but my CI System was very confused about this 🙁

from combine-schedulers.

mbrandonw avatar mbrandonw commented on August 27, 2024

Ok, hopefully this is fixed now! Closing this issue, but do let us know if there are more problems.

from combine-schedulers.

stephencelis avatar stephencelis commented on August 27, 2024

The main Problem is the Package.resolved in the xctest-dynamic-overlay Package, it's pinning the version and Xcodes things that this specific version should be checked out. I removed that as well.

@mRs- It may not be intuitive, but a package's Package.resolved doesn't have any bearing on how apps that depend on the package resolve their dependencies. In this case, our Package.resolved file only influenced package resolution of if you clone the combine-schedulers package and edit it directly.

From the SwiftPM docs:

Either way, for a package which is a dependency of other packages (e.g., a library package), that package's Package.resolved file will not have any effect on its client packages.

https://github.com/apple/swift-package-manager/blob/main/Documentation/Usage.md#resolving-versions-packageresolved-file

from combine-schedulers.

mRs- avatar mRs- commented on August 27, 2024

Yep I thought so too, but this is not really working for me in the latest Xcode 13 RC. It's always using the "older" version when you check it out with the -resolvedependencies flag on the command line :(

from combine-schedulers.

Related Issues (15)

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.