Comments (2)
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
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.
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)
- Duplicate Symbols Issue When Using Tuist with Multiple Frameworks HOT 19
- error: external macro implementation type 'ComposableArchitectureMacros.ReducerMacro' could not be found for macro 'Reducer()' HOT 1
- 'swift' command exited with error code 1 on install
- Mergeable Libraries not reexported
- When using `DefaultSettings.essential` mergeable libraries build settings not set
- Using `MergedBinaryType.manual` overrides Other Linker Flags HOT 2
- `tuist init` DX HOT 3
- [Feature Proposal] Conventionally default `CURRENT_PROJECT_VERSION` to `CFBundleVersion` HOT 2
- Tuist Test does not include watchOS Unit tests. HOT 1
- Integrating `AppAuth` causes undefined symbols issues HOT 2
- Post compile script relative path is incorrect. HOT 1
- Build Issue with swift-system 1.3.0 Using Tuist HOT 1
- Invalid Manifests Cache on CI/CD HOT 9
- Stringsdict synthesized accessors generation avoid non-plural arguments HOT 3
- Using Tuist with a Swift Package - SwiftSyntaxBuilder must have a dependency condition constraining to at most: macos HOT 1
- Tuist fails to generate HOT 1
- Preprocessor Macros (Release and Debug) HOT 1
- Tuist generate fails when Tuist Cloud is configured and the server is down or local workstation facing network issue
- tuist generate fails when using cached binaries built with different macos version HOT 2
- Generated TuistBundle+* files have bad formatting HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuist.