GithubHelp home page GithubHelp logo

Comments (2)

ffittschen avatar ffittschen commented on June 14, 2024 1

Hi, I just created a reproducible sample project and it turned out that some other 3rd party dependency in my original project depend on swift-nio-ssl as well, so it probably got skipped when resolving grpc-swift, but it was resolved through the others and then the graph command picked it up from there.

To recap, GRPC_NO_NIO_SSL=1 tuist install does seem to work as expected and does forward the env variable. I can't find any mention of swift-nio-ssl in the Package.resolved file of the sample project. And it is important to pass the same environment variable when running the graph command. Otherwise it will fail with an error, as it expects NIOSSL to be present, but it wasn't resolved when running tuist install.

Sample project

tuist-install-with-env-variable.zip

Steps

  1. GRPC_NO_NIO_SSL=1 tuist install
    2a) tuist graph AppKit
    2b) GRPC_NO_NIO_SSL=1 tuist graph AppKit

2a) will fail with the error

NIOSSL is not a valid configured external dependency

2b) will succeed

Closing this issues as tuist is working as expected.

from tuist.

fortmarek avatar fortmarek commented on June 14, 2024

Hey πŸ‘‹

What happens if you run the same steps but instead of tuist install, you run GRPC_NO_NIO_SSL=1 swift package resolve in the Tuist directory? Does tuist graph include the dependency or not?

A reproducible sample would be appreciated if you want us to look into it. If you want to take a look, that'd be amazing – if the issue is that we're not passing the initial env variables, then I would probably take a look here

from tuist.

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.