# Hunting iOS Memory Leaks: S1E1

DevFeed: [Hunting iOS Memory Leaks: S1E1](<https://devfeed.tech/articles/hunting-ios-memory-leaks-s1e1-28534.md>)

Original publisher: [Read original article](<https://www.amanjeet.me/hunting-ios-memory-leaks-s1e1/>)

Author: Amanjeet Singh Gurtatta

Published: 2026-05-09T09:43:49Z

Content type: article

Language: en

Sources: [Amanjeet Singh](<https://devfeed.tech/sources/amanjeet-singh.md>)

Topics: [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [test](<https://devfeed.tech/topics/test.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [ios](<https://devfeed.tech/tags/ios.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [traces](<https://devfeed.tech/tags/traces.md>), [unit-test](<https://devfeed.tech/tags/unit-test.md>)

## AI overview

The first edition of Hunting Memory Leaks describes development of XCTestLeaks, a tool that runs unit test schemes, checks for retain cycles with leaks(1), and produces HTML leak reports. The author reports fixing two memory leaks in Firefox-iOS-related code and outlines a workflow using project-specific GitHub Actions, Claude Code, and optional upstream issues or pull requests.

## Source excerpt

Welcome to the first edition of Hunting Memory Leaks. Another wild week, mostly battling with XCTestLeaks, the tool I've been building on the side. I'll release it once I'm confident the workflow holds up across at least 5 repos. For context, I've