We use cookies
This site uses cookies. By continuing to use our site, you agree to use of cookies.
Following users's feedback, we have released a new version of Tuist, 0.12.0 that supports defining multiple sources and resources. Moreover, we added a new product type for those of you that would like to opt for static linking, and added generation of schemes with all the targets that are part of the project. This version also drops support for defining the manifests as a JSON file because Swift will pave our way to a better maintainability and reusability.
I’d first like to introduce myself to all of you reading, since you were probably all expecting Pedro!
I’m ollieatkinson, I am from the United Kingdom and have recently become a core contributor for Tuist. I am very passionate about building great tools. I have also spent 8 years building iOS apps and know how frustrating it can be to manage Xcode projects. Contributing to Tuist was a natural fit for me, because it’s a tool I want myself.
I would also like to welcome Kas and Marcin who have also joined the core team. They are doing some fantastic work improving the foundations of the tool. You can checkout some of their work looking at the closed pull request list
Tuist is very active at the moment - we have had a fantastic set of contributions.
I’d like to thank dangthaison91 for his contribution to allow for an array of resources and sources inside the project manifest and I’d like to say thanks to steprescott for getting to grips with the tool and making some great first contributions (Pull Request #269 & Pull Request #272)!
Updating to the latest version of Tuist is easy, just run update:
I’ll review some of the changes which have been released, but for a full list please head over to the GitHub release page.
It really bugged us that it wasn’t possible to specify multiple different sources for code and resources. One of our use-cases was to store the xibs alongside the source code and the images/fonts inside of a different folder.
We really hope you like our change to support arrays for both sources
and resources
.
Don’t worry! We have ensured this change is backwards compatible so you don’t have to change anything if you don’t want to add more locations.
We previously added support for static libraries, but we’ve now taken a step further and added support for static frameworks. Just choose the .staticFramework
Product type.
Static frameworks are much like static libraries - they become part of the executable, and are statically linked to client apps. They offer a slight advantage as you are able to also bundle your header files inside of the framework.
According to Apple’s WWDC 2016 Session on Optimizing App Startup Time , regardless of their size, having a large number of dynamically linked libraries slows down app launch time dramatically.
So if you are building a large scale application and have issues with start up times, then going static is definitely something you should consider.
We will now generate you an extra scheme for each project.
The scheme called xxx-Project (xxxis the name of the project) contains all the targets within the project. Moreover, it defines test actions for all the targets that represent test bundles.
This change will make possible supporting the following commands:
N.b. the above does not exist yet but if you’re interested in it, please let us know!
We ❤️ Swift, and to ensure we continue to bring you amazing features we thought it was best to remove support for YAML and JSON specifications!
This is so that developers will have a consistent experience and get all the features they expect when writing code: syntax colouring, code completion (see picture), API documentation, and formatting tools.
We have a lot of great features being worked on at the moment. I’ll name a few:
tuist init
. Checkout the pull request Happy Xcoding 📝!