Tagged articles
49 articles
Page 1 of 1
AndroidPub
AndroidPub
Jan 15, 2026 · Mobile Development

How to Seamlessly Integrate Kotlin Multiplatform into iOS Projects

This article explains how Kotlin Multiplatform (KMP) can be integrated into iOS apps by covering local and remote integration methods, build and packaging steps, Swift/Objective‑C interop details, debugging, testing, and practical recommendations for when and how to adopt KMP in mobile development.

CocoaPodsKotlin MultiplatformMobile Development
0 likes · 11 min read
How to Seamlessly Integrate Kotlin Multiplatform into iOS Projects
DeWu Technology
DeWu Technology
Jun 5, 2024 · Mobile Development

iOS Bundle Size Optimization: Mach‑O Analysis and CocoaPods Integration

The article demonstrates how detailed Mach‑O and LinkMap analysis combined with custom CocoaPods hooks, Swift‑syntax refactoring, and indexed symbol mapping can systematically shrink an iOS app’s bundle—from 289.3 MB to 259.3 MB—while cutting CI build time and simplifying debugging.

CocoaPodsCode RefactoringLinkMap
0 likes · 19 min read
iOS Bundle Size Optimization: Mach‑O Analysis and CocoaPods Integration
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 6, 2023 · Mobile Development

How NetEase Cloud Music Made Objective‑C Components Module‑Ready for Swift Integration

This article details the challenges and step‑by‑step solutions the NetEase Cloud Music iOS team used to modularize legacy Objective‑C libraries, enabling seamless Swift interop through modulemap generation, CocoaPods configuration, and custom build scripts while addressing macro, header, and static‑library issues.

Build SystemCocoaPodsInterop
0 likes · 14 min read
How NetEase Cloud Music Made Objective‑C Components Module‑Ready for Swift Integration
Sohu Tech Products
Sohu Tech Products
Nov 17, 2022 · Mobile Development

Exploring iOS Componentization

This article introduces iOS componentization using CocoaPods, detailing the drawbacks of manual code copying, explaining the creation of local podspec libraries, configuring source files, resources, access levels, and integration steps, while also covering sub‑specs, resource bundles, and practical code examples for Swift projects.

CocoaPodsComponentizationSwift
0 likes · 26 min read
Exploring iOS Componentization
ByteDance Terminal Technology
ByteDance Terminal Technology
Sep 15, 2022 · Mobile Development

Cloud-Based Dependency Analysis for CocoaPods: Architecture and Optimization at ByteDance

This article describes ByteDance's cloud‑based CocoaPods dependency analysis service, explaining its background, architecture, caching mechanisms, material pruning, and decision‑making strategies that together reduce iOS build dependency resolution time by over 60% while maintaining correctness and low integration cost.

Build OptimizationCloud ServicesCocoaPods
0 likes · 14 min read
Cloud-Based Dependency Analysis for CocoaPods: Architecture and Optimization at ByteDance
Beike Product & Technology
Beike Product & Technology
Dec 10, 2021 · Mobile Development

Beike's Flutter Integration Scheme for iOS and Android: Hybrid, Source and Binary Modes

This article details Beike's comprehensive Flutter integration approach for existing iOS and Android projects, covering official module templates, the challenges of the native integration process, and the company's source‑code and binary‑mode solutions that streamline podspec configuration, plugin handling, SDK automation, flavor support, and build efficiency.

CocoaPodsFlutterGradle
0 likes · 21 min read
Beike's Flutter Integration Scheme for iOS and Android: Hybrid, Source and Binary Modes
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Dec 9, 2021 · Mobile Development

Dynamic Development Mode ARK for iOS: Reducing Build Time and Improving Efficiency

The article introduces ARK, a dynamic development mode for iOS that replaces traditional CocoaPods‑Xcode workflows with a lightweight 2 MB repository and real‑time library conversion, dramatically cutting pod install and compile times, improving build success, and enabling fast, component‑focused development using ByteDance’s MBox tool.

ARKBuild OptimizationCocoaPods
0 likes · 10 min read
Dynamic Development Mode ARK for iOS: Reducing Build Time and Improving Efficiency
BaiPing Technology
BaiPing Technology
Sep 22, 2021 · Mobile Development

Master CocoaPods: Complete Guide to iOS Dependency Management

This comprehensive tutorial explains how to use CocoaPods for iOS and macOS development, covering installation, project initialization, dependency management, podspec creation, private repository setup, version control, caching, and troubleshooting, enabling developers to efficiently manage third‑party libraries and create reusable modules.

CocoaPodsObjective‑CPrivate Pods
0 likes · 30 min read
Master CocoaPods: Complete Guide to iOS Dependency Management
Snowball Engineer Team
Snowball Engineer Team
Aug 20, 2021 · Mobile Development

Automating iOS Color Management and Code Snippet Generation with CocoaPods, Ruby, and ERB

This article describes a complete workflow for iOS UI development that centralizes color definitions in a JSON palette, synchronizes them via a CocoaPods post‑integrate hook, and automatically generates Objective‑C/Swift color constants and Xcode code snippets using Ruby and ERB templates, dramatically improving efficiency and reducing manual errors.

AutomationCocoaPodsCode Generation
0 likes · 12 min read
Automating iOS Color Management and Code Snippet Generation with CocoaPods, Ruby, and ERB
Kuaishou Tech
Kuaishou Tech
Aug 3, 2021 · Mobile Development

Practical Experience of Swift/Objective‑C Binary Mixed Compilation at Kuaishou Overseas Client Team

This article shares the Kuaishou overseas client team's practical experiences and solutions for improving compilation efficiency through Swift/Objective‑C binary mixed compilation, covering single‑target and multi‑target strategies, moduleization challenges, binary compatibility, and future directions for mobile development.

CocoaPodsMixed CompilationObjective‑C
0 likes · 18 min read
Practical Experience of Swift/Objective‑C Binary Mixed Compilation at Kuaishou Overseas Client Team
Zhongtong Tech
Zhongtong Tech
Jul 23, 2021 · Mobile Development

How to Build a Custom iOS Component Library with CocoaPods Scaffold

Learn how to manually create an iOS component library using CocoaPods, automate the process with the pod lib create scaffold, customize private templates, and develop a CocoaPods plugin to streamline library generation, complete with code examples and project structure details.

AutomationCocoaPodsComponent Library
0 likes · 13 min read
How to Build a Custom iOS Component Library with CocoaPods Scaffold
Kuaishou Tech
Kuaishou Tech
May 21, 2021 · Mobile Development

Swift and Objective‑C Interoperability: Mixing, Modules, and Runtime Dynamics

This article explains how Swift and Objective‑C can be mixed in iOS projects, covering prerequisite settings, CocoaPods module configuration, name mangling, compilation differences, dynamic features, method replacement techniques, and the underlying Swift runtime metadata that enable seamless inter‑language calls.

CocoaPodsInteroperabilityModules
0 likes · 25 min read
Swift and Objective‑C Interoperability: Mixing, Modules, and Runtime Dynamics
Meituan Technology Team
Meituan Technology Team
Feb 25, 2021 · Mobile Development

Improving iOS Build Speed with cocoapods-hmap-prebuilt Plugin

The article presents Meituan’s cocoapods‑hmap‑prebuilt plugin, which creates per‑pod and shared header‑map files to replace CocoaPods’ default header search paths, eliminates duplicate headers and disables Xcode’s native map, delivering over 45 % faster builds and more than 50 % shorter packaging times in large iOS projects.

Build OptimizationCocoaPodsHeader Map
0 likes · 15 min read
Improving iOS Build Speed with cocoapods-hmap-prebuilt Plugin
JD Retail Technology
JD Retail Technology
Feb 3, 2021 · Mobile Development

Implementing Swift Mixed Compilation in the JD App: ABI Stability, Module Stability, Library Evolution, and Integration Strategies

This article details JD's transition to Swift mixed compilation, covering ABI stability, module stability, library evolution, the required Xcode configurations, bridging techniques for Swift‑ObjC interaction, component‑level mixing approaches, and solutions to static and dynamic linking issues across iOS versions.

CocoaPodsLibrary EvolutionMixed Compilation
0 likes · 17 min read
Implementing Swift Mixed Compilation in the JD App: ABI Stability, Module Stability, Library Evolution, and Integration Strategies
Sohu Tech Products
Sohu Tech Products
Jan 13, 2021 · Mobile Development

Binaryizing iOS Components to Reduce Build Time

To address the growing build times of the Fire Shopkeeper iOS client caused by nearly 100 components, the team implemented component binaryization using custom CocoaPods plugins, static‑framework packaging, binary storage, and CI integration, dramatically cutting compile duration from forty minutes to around twelve minutes.

CICocoaPodsbinary packaging
0 likes · 29 min read
Binaryizing iOS Components to Reduce Build Time
Sohu Tech Products
Sohu Tech Products
Dec 16, 2020 · Mobile Development

Understanding CocoaPods Podspec: Structure, Parsing, and Practical Usage

This article provides a comprehensive overview of CocoaPods' Podspec file, explaining its purpose, supported formats, core data structures, attribute handling, subspec hierarchy, dependency validation, and practical steps for creating, linting, and publishing pods, with detailed Ruby code examples and best‑practice recommendations for iOS/macOS projects.

CocoaPodsMobile DevelopmentRuby DSL
0 likes · 21 min read
Understanding CocoaPods Podspec: Structure, Parsing, and Practical Usage
Tencent Music Tech Team
Tencent Music Tech Team
Nov 10, 2020 · Mobile Development

Compilation Optimization and Binary Packaging for QMusic Live Streaming SDK

The team accelerated the QMusic live‑streaming SDK by converting large source modules and external pods into pre‑compiled binaries, tuning Xcode build settings, and automating CI caching, slashing full‑build times from roughly 400 seconds to 40 seconds and packaging duration from over 50 minutes to three minutes.

CICocoaPodsbinary packaging
0 likes · 22 min read
Compilation Optimization and Binary Packaging for QMusic Live Streaming SDK
58 Tech
58 Tech
Oct 19, 2020 · Mobile Development

App Factory Architecture and Practices at 58.com

The article describes how 58.com evolved from a single‑team iOS app to a multi‑team, multi‑app architecture, introduces the App Factory concept with entry projects and pod pools, defines dependency rules, and presents tooling for dependency analysis, pollution detection, and incremental compilation to enable vertical business migration and rapid innovation.

CocoaPodsdependency managementiOS
0 likes · 28 min read
App Factory Architecture and Practices at 58.com
58 Tech
58 Tech
Aug 10, 2020 · Mobile Development

Architecture Evolution and Efficiency Improvements of the Anjuke iOS App under the “Jupiter Plan”

The article details how the Anjuke iOS client was transformed into a platform‑shared architecture through the “Jupiter Plan”, describing background challenges, multi‑endpoint reuse, shell project separation, build‑speed optimizations, and supporting tools that together boosted development efficiency.

Build OptimizationCocoaPodsMobile Development
0 likes · 15 min read
Architecture Evolution and Efficiency Improvements of the Anjuke iOS App under the “Jupiter Plan”
QQ Music Frontend Team
QQ Music Frontend Team
Apr 19, 2020 · Mobile Development

How to Integrate Flutter Boost into an iOS (Objective‑C) Project

This guide walks through preparing an Xcode project with CocoaPods, adding a Flutter module as a dependency, implementing the required platform router in Objective‑C, binding it in AppDelegate, and using Flutter Boost’s open and present APIs to navigate between native and Flutter pages.

CocoaPodsFlutter BoostHybrid Development
0 likes · 6 min read
How to Integrate Flutter Boost into an iOS (Objective‑C) Project
Youzan Coder
Youzan Coder
Feb 26, 2020 · Mobile Development

Mixing Swift and Objective‑C in iOS Projects: Module System, CocoaPods, and Best Practices

The article explains how, with Swift 5.1’s ABI stability, teams can combine Swift and Objective‑C in iOS apps by preferring CocoaPods‑based modular development over bridging headers, detailing the LLVM module system, modulemap setup, namespace and linking issues, and best‑practice steps for a smooth migration.

CocoaPodsMixed CompilationObjective‑C
0 likes · 12 min read
Mixing Swift and Objective‑C in iOS Projects: Module System, CocoaPods, and Best Practices
Youzan Coder
Youzan Coder
Jan 21, 2020 · Mobile Development

How We Slashed iOS Build Times by 80% Using Binary Pods and CCache

Facing a 24‑million‑line codebase with over 100 third‑party pods, the team tackled slow Xcode compilation, lengthy packaging, and merge‑request bottlenecks by applying build‑setting tweaks, RAM‑disk compilation, CCache, and a custom binary‑pod workflow that automates packaging, publishing, and integration without altering source projects.

Build OptimizationCocoaPodsXcode
0 likes · 24 min read
How We Slashed iOS Build Times by 80% Using Binary Pods and CCache
Zhenai.com Front-end Tech Team
Zhenai.com Front-end Tech Team
Jan 3, 2020 · Mobile Development

Accelerate iOS Builds: Binary Pods Strategy with Switchable Source Mode

This article examines current iOS modularization using CocoaPods, explains binary pod strategies to dramatically reduce build times, compares manual and automated approaches, addresses debugging challenges, and presents a practical solution that toggles between source and binary modes via environment variables and Development Pods for flexible development and fast CI builds.

BinaryBuild OptimizationCocoaPods
0 likes · 19 min read
Accelerate iOS Builds: Binary Pods Strategy with Switchable Source Mode
Sohu Tech Products
Sohu Tech Products
Jan 1, 2020 · Mobile Development

CocoaPods 1.9 New Features: XCFramework Support, Configuration‑Based Dependencies, Test Coverage, Swift Version Variants, and Linkage Customization

CocoaPods 1.9 introduces XCFramework support, configuration‑based podspec dependencies, test‑spec code coverage, Swift version variant handling, and a static‑linkage option for use_frameworks!, providing iOS developers with enhanced dependency management and build flexibility.

CocoaPodsSwiftXCFramework
0 likes · 6 min read
CocoaPods 1.9 New Features: XCFramework Support, Configuration‑Based Dependencies, Test Coverage, Swift Version Variants, and Linkage Customization
NetEase Media Technology Team
NetEase Media Technology Team
Oct 23, 2019 · Mobile Development

Refactoring NetEase Media Advertising SDK for Source Code Integration and Static Library Packaging with CocoaPods

The NetEase Media Advertising SDK was refactored to meet source‑code and static‑library integration needs by splitting into Core and Demo modules, converting Core into a Development Pod, centralizing build settings in xcconfig files, and adding CocoaPods post‑install hooks that automate header copying and configuration, enabling seamless use across the News client and other products.

Build SettingsCocoaPodsSDK
0 likes · 16 min read
Refactoring NetEase Media Advertising SDK for Source Code Integration and Static Library Packaging with CocoaPods
Amap Tech
Amap Tech
Sep 4, 2019 · Mobile Development

How to Perform Fine‑Grained Dependency Analysis for iOS Modules with LLVM and Clang Plugins

This article explains why modern iOS apps need modular dependency analysis, compares common approaches such as CocoaPods, header scanning, and symbol tools, and then details a source‑level LLVM‑based solution that uses Clang plugins to generate precise method‑level dependency metadata for each bundle.

Clang PluginCocoaPodsDependency Analysis
0 likes · 13 min read
How to Perform Fine‑Grained Dependency Analysis for iOS Modules with LLVM and Clang Plugins
Meituan Technology Team
Meituan Technology Team
Aug 8, 2019 · Mobile Development

What is the zsource Command? Development, Implementation and Usage in Meituan’s iOS App

Meituan’s iOS team introduced the CocoaPods sub‑command zsource, which extracts source‑file paths embedded in binary components’ DWARF data and automatically fetches the corresponding code, letting developers instantly replace a binary with its source for fast, source‑level debugging without rebuilding the whole project.

Binary DebuggingCocoaPodsComponentization
0 likes · 11 min read
What is the zsource Command? Development, Implementation and Usage in Meituan’s iOS App
Weidian Tech Team
Weidian Tech Team
Jun 28, 2019 · Mobile Development

Master CocoaPods: Install, Switch, and Manage Multiple Versions Efficiently

This article explains what CocoaPods is, its evolution, core components, and provides detailed step‑by‑step instructions for installing, uninstalling, and managing multiple versions using tools like Homebrew, RVM with gemsets, and Bundler, helping iOS developers maintain consistent development environments.

BundlerCocoaPodsHomebrew
0 likes · 12 min read
Master CocoaPods: Install, Switch, and Manage Multiple Versions Efficiently
Sohu Tech Products
Sohu Tech Products
Oct 31, 2018 · Mobile Development

Componentization Architecture for iOS Mobile Applications

This article presents a comprehensive component‑based architecture for iOS navigation apps, detailing layered design, responsibility division, integration methods, MGJRouter communication, H5‑Native interaction, dynamic configuration, and insights from Taobao's large‑scale componentization practice.

CocoaPodsDynamic ConfigurationMGJRouter
0 likes · 18 min read
Componentization Architecture for iOS Mobile Applications
Meituan Technology Team
Meituan Technology Team
Jun 28, 2018 · Mobile Development

Multi-End Code Reuse and Componentization in Meituan Waimai iOS

Meituan Waimai iOS achieved an 84 % code‑reuse rate across its standalone app, Meituan channel, and Dianping channel by progressively componentizing business logic into layered CocoaPods, flattening dependencies, using binary pods for fast builds, and employing a robust toolchain and coordination among PM, RD, and QA.

CocoaPodsComponentizationcode-reuse
0 likes · 22 min read
Multi-End Code Reuse and Componentization in Meituan Waimai iOS
Snowball Engineer Team
Snowball Engineer Team
Jun 22, 2018 · Mobile Development

Converting CocoaPods and Carthage Dependencies to Static Libraries in an iOS Swift Project

This article explains how the Egg Roll Fund iOS project migrated its mixed CocoaPods and Carthage dependencies from dynamic frameworks to static libraries using CocoaPods 1.5’s use_modular_headers! flag, manual bridging‑header adjustments, and a Carthage static‑library script, resulting in faster startup and smaller app size.

CarthageCocoaPodsMobile Development
0 likes · 7 min read
Converting CocoaPods and Carthage Dependencies to Static Libraries in an iOS Swift Project
JD Retail Technology
JD Retail Technology
Aug 25, 2017 · Mobile Development

Modular Development and Management of JD iOS Application

This article outlines JD's iOS modular development strategy, covering background, goals, code decoupling, custom routing protocols, AppDelegate hooking, Cocoapods management, the iBiu system, configuration tables, automation scripts, CI integration, and practical deployment steps.

AppDelegateAutomationCocoaPods
0 likes · 14 min read
Modular Development and Management of JD iOS Application
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
May 25, 2017 · Mobile Development

iOS Binary Framework Integration and CocoaPods Distribution Guide

This article presents a comprehensive guide on accelerating iOS project compilation by binary‑izing common libraries, detailing three approaches—separate repository management, podspec macro handling, and prepare_command with Carthage/CocoaPods packager—along with their usage, advantages, drawbacks, and a complete workflow for creating, debugging, and publishing binary frameworks.

BinaryFrameworkCarthageCocoaPods
0 likes · 9 min read
iOS Binary Framework Integration and CocoaPods Distribution Guide
Architecture Digest
Architecture Digest
May 20, 2016 · Mobile Development

Evolution of Mobile App Architecture: From MVC to Modularization with CocoaPods, Middleman, and URL Routing

The article traces the progressive evolution of a mobile app's architecture—from an initial MVC structure that quickly becomes tangled, through modular designs using CocoaPods, to advanced decoupling techniques like the middleman pattern and URL routing—highlighting practical lessons for small teams and larger enterprises.

CocoaPodsURL routingiOS development
0 likes · 8 min read
Evolution of Mobile App Architecture: From MVC to Modularization with CocoaPods, Middleman, and URL Routing
21CTO
21CTO
Feb 14, 2016 · Mobile Development

How to Build and Publish a Happy iOS Framework: From Basics to Best Practices

This article walks developers through the motivations, technical differences, and practical steps for creating, using, and publishing iOS frameworks, covering static vs. dynamic libraries, dependency managers, API design, versioning, CI, and release strategies to help produce robust, reusable components.

CarthageCocoaPodsFramework
0 likes · 29 min read
How to Build and Publish a Happy iOS Framework: From Basics to Best Practices
Aotu Lab
Aotu Lab
Jan 27, 2016 · Mobile Development

How to Set Up a Private CocoaPods Spec Repo for iOS Projects

This guide walks you through enabling hidden files on macOS, exploring the .cocoapods directory structure, creating a private spec repository on a Git server, adding it to CocoaPods, writing and validating a podspec, and finally integrating the private pod into an iOS project with version tagging.

CocoaPodsdependency managementpodspec
0 likes · 12 min read
How to Set Up a Private CocoaPods Spec Repo for iOS Projects
Aotu Lab
Aotu Lab
Jan 27, 2016 · Mobile Development

Create and Publish Your Own CocoaPods Library with Swift

This step‑by‑step guide shows how to set up a GitHub repository, add the required source, podspec, demo, README and LICENSE files, validate the pod, push the code, and finally submit the podspec to the official CocoaPods Specs so others can use your Swift library.

CocoaPodsGitHubPod Development
0 likes · 10 min read
Create and Publish Your Own CocoaPods Library with Swift