Stay up to date with the latest iOS CI/CD news

Every two weeks, directly to your inbox and packed with everything you need to know and be aware of so that you're always prepared for the next app release!

Read and trusted by engineers from:

Issue 43

Sponsored

Codemagic CI/CD for mobile teams

iOS teams are switching to Codemagic because iOS has been a second-class citizen in many CI providers. Painful to get started or change anything, slow to update to the latest software - macOS, Xcode. Slow build speeds. NO MORE with Codemagic.

🚨 Has Xcode Cloud got slower?

There have been recent reports in Apple’s Developer Forums from Xcode Cloud users that their builds have slowed down dramatically, with a user observing an overnight increase of nearly 30 minutes 🤯.

As per one of the replies in the thread, the issue seems to be caused by the runner waiting between build phases. Unfortunately, there are no known workarounds or solutions in the thread. If you are experiencing the same issue, make sure to get involved and watch the thread for updates.

💨 Save CI resources by running tests before committing

XcodeSelectiveTesting is a tool for modular Swift projects that only runs the tests from modules and targets affected by a set of changes. Using this tool on your CI/CD pipelines can help you save time and resources.

An Tran took it one step further and, as the article explains in great detail, used XcodeSelectiveTesting from a pre-commit hook to make sure all tests pass before pushing and running on CI/CD, saving resources.

✂️ Find and remove unused code with Periphery

In the last issue, I wrote about Emerge Tools’ new Reaper AI tool that leverages runtime information to find and remove unused code in your mobile apps. This week I want to share another tool that statically finds unused code pre-production called Periphery and that Emerge Tools also happens to be involved with as a sponsor.

If you’d like to learn about how to run Periphery on your codebase, make sure you check out this article by Junda Ong.

📹 Block’s macOS runner migration from in-house to AWS

I recently came across this amazing talk from last year’s edition of MacDevOpsYVR by Tim Sutton, a Senior Software Engineer at Block (prev. Square).

Tim does an amazing job of sharing lessons learnt from maintaining macOS CI environments at scale and why they decided to go from a suite of in-house macOS machines to AWS EC2 instances.

🚀 Automatically generating code when new Open API specs are available

I recently found this tweet from Morten Bjerg Gregersen sharing a cool automation that he’s built for the open-source Swift App Store Connect API client Bagbutik.

The repository has a scheduled GitHub actions workflow that checks if a new version of the App Store Connect API’s Open API spec is available and, if so, generates the code for such spec and ships it as a new version!