Issue 29
Sponsored
No more cat-herding, spreadsheets, or steady drip of manual busywork. Runway helps your team level up your release coordination and automation, from kickoff to release to rollout.
Hey everyone! đ Welcome to the twenty-ninth issue of the iOS CI Newsletter. Hope youâve had a great couple of weeks!
These past couple of weeks Hidde and I have been busy working on a very exciting update for NowPlaying which we will ship next week.
My main focus has been on performance and working on some Core Data improvements such as migrating the models, improving the queries, and making our persistent containers work for iOS widgets by moving the store to the deviceâs App Group container. I have written about the latter on my blog this week if youâre interested in doing something similar.
While it is challenging and stressful at times, indie projects are incredibly rewarding. Not only are you working on your own product, but you also get the chance to work on features and learn about topics of iOS development that you usually wouldnât in a big company. I would thoroughly encourage everyone to start their own side projects and collaborate with other members of the community, it is a great way to learn and grow as an engineer!
đŽ A (very) early look at the future of testing in Swift
A couple of months ago Stuart Montgomery, a software engineer working in the XCTest team at Apple, introduced a new macro-based open-source proof of concept Swift package for what the future of testing could look like in Swift.
I decided to try the library out a couple of weeks ago and share my findings in this article on my blog. Long story short, I am a very big fan of it and I believe it improves the syntax of unit tests significantly.
đŹ In-line errors on PRs with Tuist and GitHub Actions
I love the work that Pedro and the team at Tuist have been putting into the library recently, it is rapidly becoming a standard for architecting and building iOS applications.
This time they have announced that an upcoming release of the library is going to add support for showing errors on GitHub PRs as in-line comments using GitHub Actions!
đ Deploy iOS apps safely with instant rollbacks
This week Runway announced that they are introducing a brand new feature: rollbacks for native mobile apps. This new feature will allow developers to ship apps in a much safer way and quickly roll back versions if things go wrong.
The article goes into detail about how this new feature works and why you would want to use it.
đ Keeping an eye on your app size
This article by Viktor Petrovski, Dmitry Povolotskyi and Bruno Rocha on the Spotify Engineering blog goes through why app size is a very important metric that we mobile app developers should closely monitor.
They also show tools and processes Spotify uses to ensure no major increases in app size occur at different points in their development lifecycle.
đ Enabling macros on CI
If you happen to be using third-party macros and youâre struggling to enable them to get your project to compile on CI, this Stack Overflow answer shows you how you can do it.
There is an xcodebuild
flag you can pass called -skipMacroValidation
and, even if you canât modify the xcodebuild command itself, there is a defaults
setting you can use on your runner to enable all macros.