Optimization Reference

What Size Analyzer detects, why it matters, and how to fix it. Covers iOS and Android optimization categories with detection criteria, real-world impact data, and step-by-step fix instructions.

App Bundle Delivery

Android

Publishing as universal APK instead of Android App Bundle. AAB enables automatic configuration splits, reducing download size by 15% on average and up to 50% with dynamic features.

Code Shrinking with R8

Android

DEX bytecode not optimized by R8. Enabling code shrinking, tree shaking, and obfuscation typically reduces app size by 10-65%.

Duplicate Resources

iOS & Android

Identical files appearing multiple times, detected via SHA-256 hashing with smart filtering to separate structural duplicates from actionable ones.

Image Format Optimization

iOS

Images that would be significantly smaller in HEIC format. PNG-to-HEIC conversion typically saves 80-90%, JPEG-to-HEIC around 50%.

Image Optimization (Android)

Android

Images stored as PNG or JPEG that would be significantly smaller in WebP format. PNG-to-WebP conversion typically saves 26% lossless or 25-34% lossy vs JPEG.

Loose Image Files

iOS

Images outside Asset Catalogs that miss app thinning. All scale variants (@1x/@2x/@3x) ship to every device instead of just the one it needs.

Native Library Optimization

Android

Native libraries (.so files) shipping unnecessary CPU architectures. Filtering to ARM-only or using App Bundles can reduce native library size by 50% or more.

Oversized Assets

iOS

Individual files over 1 MB that could be compressed, resized, or delivered on demand. Covers images, audio, video, data files, and ML models.

Resource Shrinking

Android

Unused resources (drawables, layouts, strings) shipping in production. Resource shrinking combined with locale filtering can reduce app size by up to 50%.

Small File Overhead

iOS

Hundreds of tiny files wasting space due to APFS 4 KB block allocation. A 100-byte file still consumes 4,096 bytes on disk.

Unnecessary Build Artifacts

iOS & Android

Development-time files (headers, module maps, Swift modules, READMEs) shipping in production builds. Also a security concern per OWASP guidelines.

Unstripped Debug Symbols

iOS

Binary contains debug symbol tables that inflate app size by 30-42%. Common after Xcode 14 removed automatic server-side stripping.

Unused Frameworks

iOS

Dynamic frameworks embedded in the app that are never loaded at runtime. Each adds 0.8-3 MB of dead weight.

Vector Drawable Optimization

Android

Raster PNG icons shipped at multiple density variants instead of vector drawables. A single vector XML file replaces 5-6 density-specific PNGs, saving 70%+ per icon set.

Powered by Bitrise, trusted by 8,500+ brands

Size Analyzer is built by Bitrise, the leading mobile DevOps platform used by over 400,000 developers at companies like Shopify, TripAdvisor, and BuzzFeed. Free forever. No signup required.

Bitrise provides a full-stack mobile DevOps solution that unites the tools, processes, and testing frameworks engineering teams need to ship best-in-class mobile experiences.

Bitrise logo