A Ruby gem to profile iOS and macOS app and framework sizes from linkmap files, providing detailed breakdowns and insights.
Add this line to your application's Gemfile:
gem 'xcsize'And then execute:
$ bundle installOr install it yourself as:
$ gem install xcsizexcsize profile --linkmap path/to/your/linkmap.txtOptions:
--linkmap STRING- Linkmap file path--threshold BYTES- Minimum size threshold in bytes (default: 0)
xcsize compare --old-linkmap old_linkmap.txt --new-linkmap new_linkmap.txtOptions:
--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 xcsizelane :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')
endThis project is licensed under the terms of the MIT license. See the LICENSE file.