Git Product home page Git Product logo

Comments (2)

jjorn avatar jjorn commented on May 31, 2024 1

@Dschee Sorry my bad. I should read it carefully. By the way, thank for the quick reply.

from accio.

Jeehut avatar Jeehut commented on May 31, 2024

Thanks for reporting the issue @jjorn!

Yes, that's right. Since Accio uses SwiftPM as its core (e.g. for dependency resolution) it also shares some of its pitfalls (while others may be worked around within Accio). But this is a known restriction, the path parameter of the iOS project needs to only contain Swift files.

This was already documented in the Initialization section of the README as follows:

Also note that the specified path must be a directory recursively containing at least one Swift file – but mixing with other languages like (Objective-)C(++) is not supported, so they shouldn't be within the specified directory. The files in there will not be built, they just need to exist in order for SwifPM to work properly, so you could point this anywhere Swift-only code.

So just use a subdirectory within your project that contains only Swift files.

I hope this clarifies the issue. We could add a hint in the Accio error output on how to fix this as kind of a fix. Until then I'll keep this open.

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.