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)
- `KakaoMapsSDK` is not a valid configured external dependency HOT 2
- Removing a dependency breaks tuist generate. HOT 1
- Build settings from PackageSettings not work as expected
- Install by homebrew, and create project failed! HOT 5
- Specify output/destination for `generate` command. HOT 1
- Excluding an SPM Dependency from a build by reading a flag HOT 5
- <ExternalDependency> is not a valid configured external dependency HOT 2
- Tuist with dependency cycle failed to generate HOT 6
- Issue with enforceExplicitDependencies and Find Implicit Dependencies Checkbox Interaction
- OpenCV fails to compile in a mixed source project with resources due to conflicting NO macro definition HOT 2
- tuist test with swiftlint script occured No lintable files found at paths: '' error HOT 5
- watchOS and visionOS project init errors HOT 3
- Braze SDK can't load the resources HOT 2
- Firebase version 7.13.3 fails to build with Tuist projects HOT 1
- Tuist SPM tutorial doesnβt work correctly any more HOT 4
- Tuist prints out warnings when using Braze HOT 4
- Tuist cache should allow pre-built local cache to be sync with the cloud HOT 2
- Support passing `xcodebuild` arguments to `build` and `test`
- Headers not mapped from Umbrella header when productName is nil HOT 1
- How to Configure Different Bundle Identifiers Per Scheme in Tuist HOT 3
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.