New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brew install
-ed tuist has no scaffolds
#5763
Comments
Hallo, @blimmer . I've the same problem like you, and i'm trying to delete the previous installation way, then installing tuist with If you have the error message when running tuist first time, you can allow tuist run from you System Settings -> Privacy & Security -> Security -> Allow applications downloaded from, and you can unlock and allow tuist to run, and you can re-run your previous command. Sorry for my bad english. Hope it helps, mate 🍻 |
Hey folks! Your English is great, @bengidev 🍺. Thanks a lot for chiming in explaining how to fix the error message. |
Since I hit this recently I went looking. Seems the swiftui template was completely removed in commit a61e6e5 on Jan 31st |
I also had this issue yesterday. It's confusing, when you're new to a tool and try to learn how to use it, but things don't work. I wasn't sure, if I did something wrong or if the tool doesn't come with batteries included (I need to make my own templates). Installing with brew cask finally worked after mise and brew install failed for me. |
I also encountered the same problem. I tried the method you provided above, but it failed. |
I'm looking into this one. We'll get it fixed in the next version, 4.7.0. |
So is the swiftui template gone for good then? That was part of the original report here and same issue I was encountering. It seems it was removed in |
SwiftUI template is the new default, the UIKit one is gone. You don't need to specify the template when using tuist init. Wanna contribute to them docs? 😁 |
Still facing the same problem with installing through Homebrew 😭 $ which tuist
/opt/homebrew/bin/tuist
$ tuist version
4.8.1
$ tuist init
Could not find template default. Make sure it exists at Tuist/Templates/default
Consider creating an issue using the following link: https://github.com/tuist/tuist/issues/new/choose |
same |
Hey 👋 I just downloaded tuist from brew, but can't reproduce the issue. Can you check the following:
|
@fortmarek Hi, thanks for the reply.
|
That's a different error. You need to run the tuist init command in an empty directory, as the error suggests. Can you try that and see if that works? |
Ah, ok. finally succeeded to init with allowing security alert. |
Glad it works! Will close again then 🤝 |
So tuist no longer supports UIKit? How do I retrieve this template? |
@rakuyoMo Tuist supports UIKit, but we don't have a template. You can check out the fixtures directory in the repository for some examples that use UIKit. For example this one |
I don't understand though, if it was there in the past, then why delete it?This leads to a lot of changes every time I create a project with tuist, maybe I need to implement a uikit template myself?This creates quite a problem for tuist beginners like me who use uikit: it doesn't work out of the box anymore.Sincerely hope that the uikit template can be added back as an option. |
We were simplifying the templates because we noticed they can easily go out-of-date and we didn't have time to redo the UIKit one. We also felt majority of our users start with SwiftUI nowadays. I think we could bring the UIKit template back and it could reuse most of the default SwiftUI template. If you wanna have a look, you could reuse bits of deleted code from this PR and reuse the SwiftUI template that we have now. |
What happened?
I recently migrated from the
bash
script installer to using Homebrew, per these instructions: https://docs.next.tuist.io/documentation/tuist/installation/When I tried to
init
a project, I noticed there are no scaffolds:However, when installed via the legacy installer, two scaffolds are present:
How do we reproduce it?
tuist scaffold
Note that it returns an empty list.
Error log
The error message is simply that there are no scaffolds. If you try to use the
tuist init
command from the onboarding tutorial, you receive and error:macOS version
14.2.1
Tuist version
3.38.0
Xcode version
15.1
The text was updated successfully, but these errors were encountered: