Tag

unused code detection

1 views collected around this technical thread.

58 Tech
58 Tech
Jan 5, 2023 · Mobile Development

iOS App Package Size Optimization: Detecting Unused Code, Resources, and Binary Optimizations

This article presents practical methods for reducing iOS app bundle size by detecting and removing unused Objective‑C/Swift classes, redundant resources, and applying binary optimizations such as segment migration and link‑time optimization, illustrated with real‑world experience from 58.com.

App Size OptimizationMach-OSwift
0 likes · 23 min read
iOS App Package Size Optimization: Detecting Unused Code, Resources, and Binary Optimizations
58 Tech
58 Tech
Jul 7, 2022 · Mobile Development

WBBlades3.0 – A Mobile Development Tool for Unused Code Detection, Package Size Analysis, and Crash Log Parsing

WBBlades3.0 is a visualized iOS development toolkit that offers unused class detection for Objective‑C and Swift, fast package‑size analysis of static libraries, point‑to‑point crash‑log parsing with symbol restoration, and static‑library dependency inspection, all designed to improve developer efficiency.

Mach-OMobile Developmentcrash log parsing
0 likes · 7 min read
WBBlades3.0 – A Mobile Development Tool for Unused Code Detection, Package Size Analysis, and Crash Log Parsing
58 Tech
58 Tech
Oct 28, 2021 · Mobile Development

Detecting Unused Code in Mixed Swift and Objective‑C iOS Projects via Mach‑O Analysis

This article explains how to detect and remove unused code in mixed Swift and Objective‑C iOS applications by parsing Mach‑O files, analyzing class metadata, and leveraging AccessFunction calls, while discussing the challenges, implementation details of the WBBlades tool, and practical usage steps.

Binary AnalysisMach-OObjective-C
0 likes · 15 min read
Detecting Unused Code in Mixed Swift and Objective‑C iOS Projects via Mach‑O Analysis