Log in
releases

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.

Hola 👋!

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.

Support for localized sources

@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.

Read the Swift version from the environment

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.

Community forum

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:

Some fixes

  • Auto-generated Info.plist files for iOS apps no longer have the launch and main storyboards set - #1289
  • Fixed a scaffold example in the documentation - #1273
  • Fixed the help command that stopped working after a recent refactor - #1250

What’s next

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:

tuist update

Having said all of that, I wish you all a great and safe week.

You might also like

Issue and feature bounties
Announcing new bounty program for our Tuist contributors
Releasing Tuist 2.0
In this post, we share more details about this new major version of the project, 2.0, and present the direction we are taking as we move towards 3.0.
Optimizing compilation and test runs with Xcode projects
Slow workspaces and long compilation times can hinder developer productivity. Learn how Tuist optimizes Xcode projects to improve performance and accelerate feature delivery.

Supercharge your app development

Get started

We use cookies

This site uses cookies. By continuing to use our site, you agree to use of cookies.