{"repo":"marinofelipe/swift-package-info","free":true,"listed":false,"github":"https://github.com/marinofelipe/swift-package-info","clone":"git clone https://github.com/marinofelipe/swift-package-info.git","description":"Swift CLI tool that provides information about a Swift Package","language":"Swift","stars":82,"topics":["swiftpackage","binary-size","swift","swift-package-manager","command-line-tool"],"license":"MIT","category":"cli-tools","readme_excerpt":"Swift Package Info CLI tool, built on top of Swift Argument Parser, that provides information about a given Swift Package product , such as a measurement of its binary size impact . Binary size calculation is also available as a library via the SwiftPackageInfo package product . Usage Examples - Run a complete analysis - Check supported platforms (sub command) - See the binary size of a local package (e.g., under development framework) Report A custom report strategy can be passed via the report argument (check --help for supported values) Requirements - Swift = 6.1 - Xcode = 16.4 Installation Install mint Optionally add mint to your $PATH Run: mint install marinofelipe/swift-package-info to install the latest version Running mint run swift-package-info or simply, swift-package-info in case it was symlinked Binary size report Its methodology is inspired by cocoapods-size, and thus works by comparing archives with no bitcode and ARM64 arch. Such a strategy has proven consistent with the size of iOS apps downloaded and installed via TestFlight. Thanks Special thanks to @unnamedd for sharing his experience with swift-tools-support-core and on how to build a pretty 👌 report. Contributing Check the CONTRIBUTING.md file.","default_branch":null,"files":null,"tree":[],"storefront":"/r/marinofelipe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/marinofelipe/swift-package-info/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}