Tag

CocoaPods

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 2, 2024 · Mobile Development

Cocoapods‑sled: A Simple CocoaPods Plugin for Caching and Reusing Xcode Build Results

Cocoapods‑sled is a lightweight CocoaPods plugin that caches Xcode build artifacts and automatically converts reusable pods to binary form, offering low‑cost integration, local caching, binary handling, and full pod reuse to accelerate iOS development workflows.

Binary PodsBuild CacheCocoaPods
0 likes · 13 min read
Cocoapods‑sled: A Simple CocoaPods Plugin for Caching and Reusing Xcode Build Results
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.

CocoaPodsMach-Obundle optimization
0 likes · 19 min read
iOS Bundle Size Optimization: Mach‑O Analysis and CocoaPods 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.

CocoaPodsModularizationPodSpec
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 OptimizationCachingCloud Services
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
ByteDance Terminal Technology
ByteDance Terminal Technology
Nov 16, 2021 · Mobile Development

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

The article introduces ARK, a dynamic iOS development mode that replaces traditional CocoaPods‑Xcode workflows with a lightweight repository and on‑demand component fetching, dramatically cutting pod install, compile, and index times while preserving full development capabilities.

ARKBuild OptimizationCocoaPods
0 likes · 8 min read
Dynamic Development Mode ARK for iOS: Reducing Build Time and Improving Efficiency
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 CompilationModule
0 likes · 18 min read
Practical Experience of Swift/Objective‑C Binary Mixed Compilation at Kuaishou Overseas Client Team
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.

CocoaPodsModulesSwift
0 likes · 25 min read
Swift and Objective‑C Interoperability: Mixing, Modules, and Runtime Dynamics
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
May 21, 2021 · Mobile Development

Mastering Swift‑Objective‑C Interop: Mixing, Modules, and Runtime Hacks

This article explains how A‑Station adopted Swift for iOS, details the prerequisites and CocoaPods configuration for mixed Swift‑Objective‑C projects, explores module usage, name mangling, dynamic features, method replacement techniques, and provides practical code examples and tooling references.

CocoaPodsMixed CompilationModules
0 likes · 28 min read
Mastering Swift‑Objective‑C Interop: Mixing, Modules, and Runtime Hacks
Sohu Tech Products
Sohu Tech Products
Feb 10, 2021 · Mobile Development

Binaryizing iOS CocoaPods Components to Accelerate Build Times and Streamline CI

This article describes how the iOS team reduced build times by binaryizing nearly 100 CocoaPods components, detailing macro handling, packaging with cocoapods‑packager, storage strategies, dependency switching mechanisms, and CI integration to streamline development and deployment.

Build OptimizationCocoaPodsbinary components
0 likes · 52 min read
Binaryizing iOS CocoaPods Components to Accelerate Build Times and Streamline CI
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.

CocoaPodsbinary packagingci
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 Core: Source Management, Metadata, and CDN Integration

This article explains how CocoaPods Core manages Spec repositories, including the structure and initialization of Source, Metadata handling, shard-based indexing, version resolution, CDN migration, and the mechanisms for updating and searching PodSpecs across Git and CDN sources.

CDNCocoaPodsRuby
0 likes · 22 min read
Understanding CocoaPods Core: Source Management, Metadata, and CDN Integration
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 DevelopmentPodSpec
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.

Build OptimizationCocoaPodsPodSpec
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