App Analyzer Plugin for Bitrise CLI
A powerful tool for analyzing iOS app bundles, providing detailed insights about size, content, and potential optimizations.
Can be run directly with the Bitrise CLI.
bitrise plugin install https://github.com/birmacher/bitrise-plugins-analyze.gitBasic command structure:
bitrise :analyze [path] [flags]path: Path to the app bundle (.app), archive (.xcarchive), or IPA file (.ipa)
--html: Generate an interactive HTML visualization report--json: Generate a detailed JSON report--markdown: Generate a markdown report with key insights--output-dir: Directory where the output files will be generated (default: current directory)
All generated files will use the app's bundle ID as the base filename:
- HTML report:
<bundle_id>.html - JSON report:
<bundle_id>.json - Markdown report:
<bundle_id>.md
- Basic analysis of an .app bundle:
bitrise :analyze MyApp.app- Generate HTML visualization:
bitrise :analyze MyApp.ipa --html- Generate all report formats:
bitrise :analyze MyApp.xcarchive --html --json --markdown- Specify output directory:
bitrise :analyze MyApp.app --html --output-dir=/path/to/reportsThe analysis provides detailed information about:
- Basic app information (bundle ID, version, size)
- Top 10 largest modules
- Top 10 largest files
- Duplicate content (both in file system and asset catalogs)
- macOS (required for iOS app bundle analysis)
- Bitrise CLI installed
- For analyzing .ipa files: ability to extract and process iOS app bundles