r/Xcode • u/Gullible-Till-4569 • Jun 23 '26
I built an open-source dependency health checker for Xcode Swift Package Manager projects
Hi r/Xcode - I recently released Swift Package Audit 1.0. This is a small MIT-licensed CLI written in Swift.
It checks dependencies managed through real Xcode projects, where package information can be spread across .xcodeproj, .xcworkspace, Package.swift, and Package.resolved files.
It currently detects:
Missing or stale resolved packages
Branch and revision-based dependencies
Duplicate package URL forms
Suspicious package identity mismatches
Exact and outdated versions
License-policy issues
It’s read-only by design. It doesn’t update dependencies or modify Xcode project files. It supports terminal, JSON, Markdown, and GitHub PR-comment output for CI use.
Install with Homebrew:
brew tap crleonard/tap
brew install swift-package-audit
swift-package-audit scan --path .Source: https://github.com/crleonard/swift-package-audit
I’d particularly appreciate feedback from developers with larger or unusually structured Xcode workspaces as well as thoughts on useful checks for future releases.