Description
SwiftInfo is a command-line tool that extracts, tracks and analyzes metrics for Swift and iOS apps, so a team can follow how an app's code and build change from release to release. It comes with providers that measure things like the .ipa archive size, code coverage, number of targets, total test count, build warnings, Objective-C file count, longest and total test duration, asset catalog sizes, executable lines of code and archive time. Anything else that can be expressed in a short .swift script can be tracked with a custom setup. By default it reads a release build and sends the results to Slack, and it can also report on single pull requests through the danger-SwiftInfo plugin. Raw logs can be gathered with fastlane or by hand. The author has stated that no further updates are planned.…
Highlights
- Built-in providers for .ipa size, coverage, warnings, test count and more
- Custom metrics defined in a plain .swift script
- Posts results to Slack by default
- Per-pull-request reports via the danger-SwiftInfo plugin
- Works with raw logs from fastlane or collected manually
Ratings & Reviews
No ratings yet
Be the first to rate SwiftInfo.
People also visit
SwiftInfo FAQ
What is SwiftInfo?
A CLI tool that extracts, tracks and analyzes metrics for Swift apps, such as archive size, code coverage, warning count, test count and build durations, so you can see how the app evolves over time.
Which metrics can it track out of the box?
Providers cover .ipa size, code coverage, target count, test count, warning count, Objective-C file count, longest and total test duration, largest asset catalog, total asset catalog size, lines of code, archive duration and largest asset.
Where do the results go?
By default SwiftInfo assumes a release build and sends the final results to Slack. It can also report on individual pull requests through the danger-SwiftInfo Danger plugin.
Can I track my own metrics?
Yes. Besides the shipped providers, you can configure SwiftInfo to track nearly anything that can be expressed in a simple .swift script.
Is SwiftInfo still maintained?
The README states that the author does not intend to ship further updates to the tool, so treat it as finished software.
What are the best SwiftInfo alternatives?
Popular alternatives to SwiftInfo include DebugSwift and Umbrella. See all SwiftInfo alternatives









