Project

xcsize

0.0
The project is in a healthy, maintained state
A Ruby gem to profile iOS and macOS app and framework sizes from linkmap files, providing detailed breakdowns and insights.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 4.6, < 6.0
 Project Readme

XCSize

A Ruby gem to profile iOS and macOS app and framework sizes from linkmap files, providing detailed breakdowns and insights.

Installation

Add this line to your application's Gemfile:

gem 'xcsize'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install xcsize

Usage

Profile a single linkmap

xcsize profile --linkmap path/to/your/linkmap.txt

Options:

  • --linkmap STRING - Linkmap file path
  • --threshold BYTES - Minimum size threshold in bytes (default: 0)

Compare two linkmaps

xcsize compare --old-linkmap old_linkmap.txt --new-linkmap new_linkmap.txt

Options:

  • --old-linkmap STRING - Old linkmap file path
  • --new-linkmap STRING - New linkmap file path
  • --threshold BYTES - Minimum size threshold in bytes (default: 0)

fastlane integration

To get started with xcsize fastlane plugin, add it to your project by running:

fastlane add_plugin xcsize

Usage

lane :test do
  xcsize(linkmap: 'path/to/your/linkmap.txt')

  xcsize_diff(old_linkmap: 'path/to/your/old_linkmap.txt', new_linkmap: 'path/to/your/new_linkmap.txt')
end

License

This project is licensed under the terms of the MIT license. See the LICENSE file.