Git Product home page Git Product logo

Comments (3)

Jeehut avatar Jeehut commented on May 31, 2024

That's actually an issue with SwiftPM and the related discussion can be found here:
https://forums.swift.org/t/multiple-target-issue-with-spm/16696

I asked for further information there ...

from accio.

Jeehut avatar Jeehut commented on May 31, 2024

Okay, this issue was clarified now on the thread:

  • Once SE-226 is implemented in SwiftPM, this issue will be resolved.
  • You can track progress of its implementation in SR-8658.

As far as I can see, this issue would even arise if we tried to manually remove any unnecessary targets from the manifest files of checked out projects (I didn't try though, so someone might try that). So I would say, this is something we can't fix without completely reimplementing dependency resolution ourselves, which is a non-goal of this project given SwiftPM already does it and improvements were already accepted by the community. Therefore I think we can close this.

If someone comes across this, please try one of the following workarounds:

  1. Fork the project which has the conflicting target name and remove it from the manifest there.
  2. Rename your conflicting target to prevent conflicts.

If anyone has an idea, how we could resolve this in Accio, feel free to comment and I'll reopen. Another way of speeding this up would to help implement SR-8658.

from accio.

Jeehut avatar Jeehut commented on May 31, 2024

Ah, I think we could provide a link to this thread when someone comes across this issue like we did for #3. I'm reopnening this until such an output is implemented.

from accio.

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.