tuist
tuist copied to clipboard
Misleading `generate` error message
What problem or need do you have?
When you run tuist generate
, and you haven't fetched the remote content by running tuist fetch
, the error is misleading:
`FooBar` is not a valid configured external dependency
Consider creating an issue using the following link: https://github.com/tuist/tuist/issues/new/choose
Potential solution
A message mentioning the fetch mechanism would point the developer to the right direction.
macOS version
14.0
Tuist version
3.8.0
Xcode version
15.0.0
Hey @bojan 👋
I am absolutely with you – we should suggest next steps for a developer if things go south. Would you like to implement this? 😌
Hey @fortmarek 👋🏿
I would like to try and solve this issue. Do you have any specific requirements to solve this issue, I mean other cases besides tuist fetch
error? Or is it enough to close this issue only by showing suggestions to run tuist fetch
?
I would appreciate if you have any other recommendations or suggestions about this issue.
Thank you in advance!
I would like to try and solve this issue
Amazing! 💜
Or is it enough to close this issue only by showing suggestions to run tuist fetch?
Yeah, I think that's enough for now – if an external target is not found, we should update the error message to include the suggestion to run tuist fetch
. I don't think we want to automatically re-run tuist fetch
.
Hello, @fortmarek
I believe this issue is fixed in #5193 linking to issue 5118. This issue probably can be closed by updating tuist to version 3.20.0
, as changes been included according to CHANGELOG.md.
This issue still exists on tuist version 4.9.0
, but it doesn't happen all the time.
Sometimes, but not always I get the helpful hint to use tuist install
.
This issue still exists on tuist version 4.9.0, but it doesn't happen all the time.
I will close the issue as not that many users seem to run into this anymore. Feel free to create a new issue if you can provide a reproducer 🙏