Tagged articles
Package Size
13 articles · Page 1 of 1
This article explains why WeChat Mini Programs hit the 2 MB package limit, analyzes common causes of oversized main bundles, and provides a step‑by‑step guide—including pre‑slimming tactics, subpackage configuration, code examples, and performance tips—to reduce the main package below the limit and improve load speed.
Package SizeSubpackageWeChat Mini-Program
0 likes · 12 min read

This article describes a systematic approach to reducing mobile app package size by detecting oversized resources, scanning unused assets, enforcing size checkpoints during development, and integrating automated validation into the CI/CD pipeline, illustrated with tools, workflows, and results.
CI/CDPackage SizeResource Optimization
0 likes · 10 min read

To accurately trim iOS app binaries, the article discards low‑precision Mach‑O/LinkMap methods and instead builds a custom compilation pipeline using libtooling and the Swift compiler to analyze full abstract syntax trees, enabling reliable detection of unused methods across complex language features and inheritance hierarchies.
ASTPackage Sizecode analysis
0 likes · 14 min read

This article explains how to analyze Link Map files and apply code‑level optimizations—such as removing unused classes, modules, methods, duplicate code, and AB‑test branches—to significantly reduce the binary size of Baidu’s iOS app, providing scripts, commands, and practical tips for each step.
Link MapMach-OPackage Size
0 likes · 18 min read

The article details Baidu APP iOS package size reduction by identifying and removing unused images, converting resources to Asset Catalogs, and leveraging HEIC and appropriate compression, achieving a 9.75 MB saving while outlining scripts, regex extraction methods, and best‑practice recommendations.
Baidu appHEICPackage Size
0 likes · 18 min read

This article explains how Android developers can reduce APK size by inlining R files, detailing the generation of R.java and R.txt, the causes of oversized R files, and step‑by‑step bytecode transformation techniques using ASM to replace resource ID lookups with constant values.
Package Sizeinliningproguard
0 likes · 11 min read

This article provides a comprehensive guide to analyzing and reducing iOS IPA package size by unpacking the .ipa, examining its internal components, applying Xcode compile and code optimizations, compressing resources, removing unused assets, and establishing monitoring mechanisms to maintain a lean binary.
IPAPackage SizeResource Compression
0 likes · 17 min read

The platform optimizes Android APK size by shrinking resources, compressing images, filtering native libraries, and applying selective byte‑code reductions, then continuously monitors package composition, trends, and business‑line usage, alerting teams to abnormal growth while preserving functionality for large‑scale apps.
APKAndroidDEX
0 likes · 13 min read

This article systematically explains how to analyze, reduce, and monitor iOS IPA package size by examining Xcode build settings, resource files, and code, providing detailed step‑by‑step configurations, tables of component sizes, practical scripts, and best‑practice recommendations for sustainable bundle‑size management.
Build SettingsPackage SizeXcode
0 likes · 31 min read

This article describes a method for analyzing Android APK size at the library level by extracting and parsing Gradle intermediate merge files, mapping resources, assets, native libraries and Java resources to their originating libraries, and linking them to maintenance teams for precise package‑size reporting.
APKBuild ToolsGradle
0 likes · 13 min read

The Xianyu app’s package size surged by 43 % on Android and 26 % on iOS in six months, prompting a detailed analysis that classifies resources, parses APKs and iOS link maps, and implements an automated incremental gate requiring justification for any increase over 100 KB, leading to the first size reduction in half a year and ongoing efforts to slim Flutter artifacts and legacy resources.
APK analysisIncremental BuildPackage Size
0 likes · 9 min read


58 TechJun 1, 2020 · Mobile Development
The 58 client package size detection live series reviewed two open‑source tools—Zucker for Android modular size analysis and a Mach‑O‑based performance suite for iOS—explaining their principles, implementation, and how they enable non‑intrusive monitoring and optimization of app package sizes.
AndroidMach-OPackage Size
0 likes · 3 min read

iQIYI’s engineering team shrank app packages, accelerated cold‑start times, hardened stability, and built an evolving automated toolbox that analyzes resources, binaries, launch phases, and code safety, enabling a sub‑200 MB install, sub‑second launches, 55 fps transitions, and crash rates below 0.2 %.
Package Sizeapp startupiOS performance
0 likes · 19 min read
