Tuist 1.8.0 - Adding support for localized sources
In this blog post I talk about the Tuist verion 1.8.0 and the improvements that come with it. One of those is being able to define localized sources in the targets. Moreover, we changed the way we read the Swift version to always read it from the environment.
Despite our plan to release new versions every Friday, we are doing things a bit different this time, and we are releasing a new version on Monday. In this blog post, I’m introducing the version 1.8.0 of Tuist.
Unlike past releases that were packed with many features, this is a tiny one with barely additions. Nonetheless, we are writing a blog post because we believe in the power of narrative as a means to convey the ideas behind it.
Let’s dive right into what has changed in 1.8.0.
@Rag0n added support for localized resources. Thanks to it, you can now add localized files with the extension
.indentdefinition. Before this change, we were treating the directories with extensions
.lproj, which Xcode uses go group localized resources and sources, as a normal directory.
There used to be a few places in the codebase where we used a hardcoded version of Swift. To prevent it from causing issues when the hardcoded version doesn’t match the system one, we changed the implementation to always read the Swift version from the system.
It’s been a while since we have it, but it might have gone unnoticed for users of Tuist. A while ago, we created a community forum with the aim of encouraging long and asynchronous discussions and making them searchable and indexable by search engines like Google. Slack, the communication tool that we had been using since the inception of Tuist is great at real-time discussions but is not ideal when many important discussions are going on.
We’ll continue using Slack, but we’ll encourage people to use the forum for certain discussions. We’ll also continue using GitHub issues to report bugs, propose improvements and features, and share RFCs to get input from other contributors.
Here are some ongoing discussions worth checking out:
Info.plistfiles for iOS apps no longer have the launch and main storyboards set - #1289
scaffoldexample in the documentation - #1273
helpcommand that stopped working after a recent refactor - #1250
There’s an ongoing work to add support for signing to Tuist. In a nutshell, Tuist will take care of installing certificates, copying profiles, and setting the right build settings to your projects. All you need to do is to place them in the
Tuist/Signing directory and use a built-in command to encrypt them.
Moreover, we paused the work on the cache to refactor one of our key pieces of the codebase, the graph. Since its creation, the model has gone through several iterations and broadened its responsibilities. We think it’s now a good time to refactor it into a value type that will support well current and future features that we are planning for Tuist.
As always, remember that you can update Tuist easily by running:
Having said all of that, I wish you all a great and safe week.
Tuist has become a vital part of organizations' development workflows, resulting in a rise in support and feature requests. Our current model of relying on volunteers' free time is unsustainable, and we are seeking funding to enable dedicated full-time contributions. Your sponsorship would be highly appreciated, as it will help us enhance Tuist and ensure its continued awesomeness.Sponsor Tuist