SwiftInfo is a CLI tool that extracts, tracks, and analyzes metrics that are useful for Swift apps. Besides the default tracking options that are shipped with the tool, you can also customize SwiftInfo to track pretty much anything that can be conveyed in a simple .swift script. By default SwiftInfo will assume you're extracting info from a release build and sending the final results to Slack, but it can be used to extract info from individual pull requests as well with the danger-SwiftInfo danger plugin. SwiftInfo extracts information by analyzing the logs that your build system generates when you build and/or test your app. Because it requires these logs to work, SwiftInfo is meant to be used alongside a build automation tool like fastlane. The following topics describe how you can retrieve these logs and setup SwiftInfo itself.
Features
- Retrieve raw logs with fastlane
- Retrieve raw logs manually
- SwiftInfo itself is configured by creating a Infofile.swift file in your project's root
- Save and visualize the data
- Customize providers
- Any arguments you pass to SwiftInfo can be inspected inside your Infofile