Subscribe for weekly commentary and coverage of Swift and Apple platform development. Written by next app's swiftCon team and published every Friday. Free.

Written by Alex Ozun

Issue 779

4th December 2026

Written by Alex Ozun

Comment

Retiring a critical piece of infrastructure is no mean task, and the CocoaPods team just showed us how to do it well.

This Wednesday marked the end of an era: CocoaPods Trunk went into read-only mode, concluding the two-year plan set in motion by Orta Therox in 2024.

This means that already-published pods remain available, so projects that still use CocoaPods won’t break overnight. But pod maintainers can no longer publish updates. To keep their dependencies up to date, projects are advised to migrate to Swift Package Manager now.

It’s hard to overstate just how important CocoaPods was for Apple community. I realise there’s now an entire generation of developers who have never touched CocoaPods, so let me take a step back.

When Eloy Durán started CocoaPods in 2011, years before SwiftPM or Swift itself existed, Apple offered no scalable way of sharing code between Xcode projects. If you wanted to pull in a dependency, you’d likely be manually copying files and tinkering with Xcode build settings. CocoaPods brought the convenience of Bundler and RubyGems into iOS and macOS development, with one-liner dependency installs. By the time it hit version 1.0 in 2016, CocoaPods had integrated 285 million pods into 850,000 Xcode targets. It remained relevant for years after the initial SwiftPM release in 2015, with Xcode only adding SwiftPM support in 2019. And even as most native projects moved to SwiftPM, CocoaPods still finds its place in Flutter and React Native world where it often handles Xcode project scaffolding.

So why go read-only? Orta explained this on the Swift Package Indexing podcast. CocoaPods Trunk, the central registry where pods are published, is a big surface area for potential supply chain attacks. The team regularly deals with reports from security researchers, each report taking days to review and handle. Guarding the keys to the castle with pods used by millions is a lot to ask of volunteers working in their spare time. But you can’t just pull the plug on the entire system without disrupting thousands of projects. So making Trunk read-only was a really elegant solution to this problem. And the two-year notice period with a cut-off date after American Thanksgiving gave developers plenty of time to migrate to SwiftPM without disruptions.

On behalf of the community, I want to express my gratitude to Eloy, Fabio Pelosin, Dimitris Koutsogiorgas, Danielle Lancashire, Eric Amorde, Orta Therox, Paul Beusterien, Samuel Giddins, and the rest of the team of legends who maintained CocoaPods for the past 15 years! 🫡

– Alex Ozun

Trace iOS Crashes From First Report to Root Cause

A one-star review saying “it keeps crashing” rarely tells you why. Datadog’s free eBook covers the vitals that reveal your app’s real health on iOS and Android, how to trace errors from crash report to root cause, and what it takes to keep your app consistently performant. Get the mobile monitoring eBook.

News

Advent of Code 2026

Every December, Eric Wastl publishes a set of fun daily coding exercises called Advent of Code. It’s a perfect way to stretch your Swift programming muscles, give it a try!

Code

Transactions in SwiftUI

The basic animation modifiers in SwiftUI, while easy to use in simple cases, are too blunt a tool for use cases where precise control over animations is needed. I admit I never got a chance to look closely at SwiftUI’s version of Transactions, so I found this article by Wesley de Groot helpful indeed! It gives several clear examples of where animation modifiers fall short and how transactions come to the rescue. I particularly liked the example of handling the Reduce Motion accessibility setting, because usually we don’t want to completely disable all animations but rather tone down the most distracting ones.


The power and limitations of using Swift statements as expressions

I remember when statement expressions came out in Swift 5.9 to a mixed reception from the community. Some people welcomed it, while others were frustrated that branches were limited to a single expression. I personally think they’re a solid quality-of-life feature, and John Sundell makes a few good cases for them in his latest article. He also highlights several limitations stemming from type inference challenges. It’s a good read, as usual!


[Pitch] Colocated Tests

Check out this interesting SwiftPM pitch to allow tests to live right next to source code. Colocated tests are already popular with languages like Go, and in Swift it could help library maintainers simplify their test setup and provide white-box access to private members. Judging by the Swift Forums comments, so far the pitch has received positive feedback, so I’m hoping to see it make its way to Swift Evolution.

Tools

Skala | A professional interface design tool

Skala (not to be confused with Scala and Scala) is a Mac-assed interface design tool with a custom Metal-based rendering engine that makes it blazing fast. The tool’s been many years in the making, but last week version 1.0 was finally announced. It brings the interesting concept of parametric components, which let you reuse and modify design elements split across files, much like engineers do with reusable code. I think it’s a very impressive tool that has the potential to take the niche previously occupied by Sketch.

Books

Build Best-in-Class iOS Apps

Jordan Morgan just announced that, following the shutdown of Lemon Squeezy, his five-book series Best-in-Class iOS App is now free to download. It’s an offer that’s hard to pass up. Cheers, Jordan!

Article

The Loss And Rebirth Of Identity

I like the type of positivity that Joe Fabisevich brings to the AI discourse. Joe’s writing on AI remains human-centric at its core, and this latest post is no different. I particularly liked the part about redefining your community not by your tech stack but by the actual people around you. I think it’s something I’m going through myself right now.

And finally...

Does maintaining my Mac now includes shovelling snow ❄️?