# cocoapods

CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects that resolves dependencies and creates Xcode workspaces.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## What's new in Swift: November 2026 Edition

DevFeed: [What's new in Swift: November 2026 Edition](<https://devfeed.tech/articles/what-s-new-in-swift-november-2026-edition-129323.md>)

Original publisher: [Read original article](<https://www.swift.org/blog/whats-new-in-swift-november-2026/>)

Author: Dave Lester

Published: 2026-11-11T09:00:00Z

Content type: news

Language: en

Sources: [Swift.org](<https://devfeed.tech/sources/swift-org.md>)

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Swift Testing](<https://devfeed.tech/topics/swift-testing.md>), [Vapor](<https://devfeed.tech/topics/swift-vapor.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [community](<https://devfeed.tech/tags/community.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [developers](<https://devfeed.tech/tags/developers.md>), [digest](<https://devfeed.tech/tags/digest.md>), [discussions](<https://devfeed.tech/tags/discussions.md>), [don-t](<https://devfeed.tech/tags/don-t.md>), [index](<https://devfeed.tech/tags/index.md>), [iphone](<https://devfeed.tech/tags/iphone.md>), [latest](<https://devfeed.tech/tags/latest.md>), [news](<https://devfeed.tech/tags/news.md>), [november-2026](<https://devfeed.tech/tags/november-2026.md>), [objective-c](<https://devfeed.tech/tags/objective-c.md>), [package](<https://devfeed.tech/tags/package.md>), [people](<https://devfeed.tech/tags/people.md>), [swift](<https://devfeed.tech/tags/swift.md>), [what-s-new](<https://devfeed.tech/tags/what-s-new.md>)

### AI overview

CocoaPods will stop accepting new pods and versions on December 2, 2026. Existing pods and versions will remain available read-only, so builds will not immediately break, but authors will no longer be able to publish updates. The excerpt recommends checking maintained dependencies on Swift Package Index, where listed packages support SwiftPM, and finding alternatives for incompatible pods. It also highlights Swift developments in C++ interoperability, Android and Java integration, Embedded Swift testing, Kafka, ROS 2, and server frameworks. Proposal updates include build configuration conditions for dependencies under review, plus accepted additions for task identity, build performance debugging, single-value spans, and SwiftPM compilation caching. These are selected items from the supplied digest excerpt.

### Source excerpt

Welcome to the latest edition of "What's new in Swift," a curated digest of releases, news, and discussions from the Swift project and community. To start things off, our guest contributor shares a timely reminder for anyone relying on CocoaPods: Hi, I'm Dave Verwer, co-creator of the Swift Package Index and now part of a team at Apple working on a public, cross-platform package registry for Swift. How developers find, share, and manage dependencies across the entire ecosystem is something we think about a lot. CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. The project began in 2011, before Swift was publicly available and long before the Swift Package Manager (SwiftPM) existed. For many people who started developing with the iPhone SDK, it was a first look at what a dependency manager could do. Today, Swift has expanded across platforms, and SwiftPM has become the standard for managing dependencies everywhere Swift runs. Following a two-year sunset period that began in 2024, the CocoaPods project will stop accepting new pods and pod versions on December 2nd, 2026. With that date less than a month away, I wanted to make sure this milestone is on your radar, and to share what it means for your projects. If your project still uses CocoaPods, this change won't immediately break your builds. All current pods and versions will still be available, just in a read-only state. However, with pod authors no longer able to publish updates, if you haven't switched to SwiftPM yet, now is the time. Most pods in your dependencies that are still being maintained will already be compatible with SwiftPM, and the easiest way to check is to look for them on Swift Package Index. Every package in the index is a SwiftPM package, and if you find any incompatible pods, you can search for an alternative so you don't leave yourself with unmaintained dependencies. I'd like to extend a personal thank you to everyone who worked on CocoaPods for creating and maintainin

## Supply Chain Insecurity: Exposing Vulnerabilities in iOS Dependency Management Systems

DevFeed: [Supply Chain Insecurity: Exposing Vulnerabilities in iOS Dependency Management Systems](<https://devfeed.tech/articles/supply-chain-insecurity-exposing-vulnerabilities-in-ios-dependency-management-systems-116108.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2601.20638>)

Author: David Schmidt, Gabriel K. Gegenhuber, Edgar Weippl, Sebastian Schrittwieser

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [Dependency management](<https://devfeed.tech/topics/dependency-management.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [dependency-management](<https://devfeed.tech/tags/dependency-management.md>), [ios](<https://devfeed.tech/tags/ios.md>), [rce](<https://devfeed.tech/tags/rce.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [supply-chain-attacks](<https://devfeed.tech/tags/supply-chain-attacks.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

The paper reports that iOS apps expose internal dependency names and versions, which attackers can use to register unclaimed CocoaPods dependencies and achieve remote code execution on developer machines and build servers. It also describes compromising dependencies by reclaiming abandoned domains or GitHub URLs. In an analysis of 9,491 real-world iOS apps, the authors found a significant fraction vulnerable, putting millions of users at risk; they report confirming exploitation involving major organizations through responsible disclosure. The study examines CocoaPods, Carthage, and Swift Package Manager, compares them with Cargo, Go modules, npm, pip, and Maven, and discusses mitigation strategies. The supplied evidence does not specify those strategies or provide detailed comparisons.

### Source excerpt

arXiv:2601.20638v2 Announce Type: replace Abstract: Dependency management systems are a critical component in software development, enabling the incorporation of existing functionality. However, misconfigurations and malicious actors in these systems pose security risks, leading to supply chain attacks. Despite the widespread use of smartphone apps, the security of dependency management systems in the iOS software supply chain has received limited attention. In this paper, we focus on CocoaPods, one of the most widely used dependency management systems for iOS app development, but also examine the security of Carthage and Swift Package Manager (SwiftPM). We demonstrate that iOS apps expose internal dependency names and versions. Attackers can exploit this information to register previously unclaimed dependencies in CocoaPods, enabling remote code execution (RCE) on developer machines and build servers. Additionally, we show that attackers can compromise dependencies by reclaiming abandoned domains and GitHub URLs. Analyzing 9,491 real-world iOS applications, we find that a significant fraction is vulnerable to these attacks, putting millions of users at risk, including applications from major organizations for which we confirmed exploitation via responsible disclosure. Finally, we compare iOS dependency management systems with Cargo, Go modules, npm, pip, and Maven, and discuss conceptual issues and practical mitigation strategies.

## Unity Announces External Dependency Manager Package

DevFeed: [Unity Announces External Dependency Manager Package](<https://devfeed.tech/articles/unity-announces-external-dependency-manager-package-79565.md>)

Original publisher: [Read original article](<https://unity.com/blog/external-dependency-manager>)

Author: Maria Sifniotis; Julius Miknevicius

Published: 2026-09-29T00:00:00Z

Content type: release

Language: en

Sources: [Unity](<https://devfeed.tech/sources/unity.md>)

Topics: [Unity](<https://devfeed.tech/topics/unity.md>), [Dependency management](<https://devfeed.tech/topics/dependency-management.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [feature](<https://devfeed.tech/tags/feature.md>), [guide](<https://devfeed.tech/tags/guide.md>), [ios](<https://devfeed.tech/tags/ios.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

Unity has released External Dependency Manager (EDM), an official package for managing native Android and iOS dependencies in Unity projects. It supports existing EDM4U XML dependency files and is available through the Unity Package Manager for Unity 2022.3 and later. Unity says the release aims to ease migration as Google deprecates EDM4U, and describes EDM's role in resolving SDK library dependencies for mobile game builds.

### Source excerpt

Unity's External Dependency Manager (EDM) replaces EDM4U for Android and iOS SDK dependencies.

## CocoaPods Deprecation Notice for OpenTelemetry Swift

DevFeed: [CocoaPods Deprecation Notice for OpenTelemetry Swift](<https://devfeed.tech/articles/cocoapods-deprecation-notice-for-opentelemetry-swift-32581.md>)

Original publisher: [Read original article](<https://opentelemetry.io/blog/2026/otel-swift-cocoapods-deprecation/>)

Author: OpenTelemetry Authors; Docs CC BY

Published: 2026-07-20T14:05:37Z

Content type: release

Language: en

Sources: [OpenTelemetry](<https://devfeed.tech/sources/blog-on-opentelemetry.md>)

Topics: [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>), [maintenance](<https://devfeed.tech/topics/maintenance.md>), [Maintainers](<https://devfeed.tech/topics/maintainers.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [migration](<https://devfeed.tech/tags/migration.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>)

### AI overview

OpenTelemetry Swift maintainers plan to deprecate CocoaPods support for the opentelemetry-swift and opentelemetry-swift-core pods as CocoaPods moves into maintenance mode. Swift Package Manager is the recommended installation method, and existing CocoaPods users are encouraged to plan migration.

### Source excerpt

As it was announced via CocoaPods Support Plan and via CocoaPods Spec Repository, CocoaPods is transitioning their project to maintenance mode, and cocoapods trunk is going to be read-only in a few months. The OpenTelemetry Swift maintainers are planning to deprecate CocoaPods support for all the pods published under opentelemetry-swift and opentelemetry-swift-core. Swift Package Manager (SPM) is now the recommended and preferred installation method for all new integrations. We encourage existing CocoaPods users to begin planning a migration to SPM.

## Modernizing Dependency Management: Beyond CocoaPods (Part 2 -- The Execution)

DevFeed: [Modernizing Dependency Management: Beyond CocoaPods (Part 2 -- The Execution)](<https://devfeed.tech/articles/modernizing-dependency-management-beyond-cocoapods-part-2-the-execution-77968.md>)

Original publisher: [Read original article](<https://blog.hotstar.com/modernizing-dependency-management-beyond-cocoapods-part-2-the-execution-bf3b9d739efb?source=rss----dbc3fcbc7f07---4>)

Author: Saurabh Kapoor

Published: 2026-02-13T04:26:22Z

Content type: article

Language: en

Sources: [JioHotstar](<https://devfeed.tech/sources/jiohotstar.md>)

Topics: [Dependency management](<https://devfeed.tech/topics/dependency-management.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [swift-package](<https://devfeed.tech/topics/swift-package.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [dependency-management](<https://devfeed.tech/tags/dependency-management.md>), [ios-development](<https://devfeed.tech/tags/ios-development.md>), [migration](<https://devfeed.tech/tags/migration.md>), [mobile-development](<https://devfeed.tech/tags/mobile-development.md>), [spm](<https://devfeed.tech/tags/spm.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>)

### AI overview

The team migrated 60 CocoaPods to Swift Package Manager over six months in four phases, keeping CocoaPods available until releases succeeded without it. They first tested coexistence with mature third-party packages while preserving developer workflows and CI. For private binary targets, SPM's downloads lacked authentication; configuring `.netrc` credentials on developer machines and CI enabled authenticated downloads and checksum verification. Development pods became packages with preserved module boundaries, separate Objective-C and Swift targets, explicit resources and build settings, and most platform-specific XIB UI moved into code. CocoaPods `post_install` logic shifted to scoped Xcode build phases or explicit configuration. The migration also exposed runtime duplicate-symbol and framework-loading issues, plus Slather's lack of first-class support for pure Swift packages; the team audited linkage and moved coverage to an `xcresult`-based pipeline. The account emphasizes phased validation and the tradeoff of upfront refactoring for more explicit package and build behavior.

### Source excerpt

Modernizing Dependency Management: Beyond CocoaPods (Part 2 -- The Execution)Recap In Part 1, we shared the strategy -- why we had to move away from CocoaPods, how we evaluated our options, and the phased migration plan we designed to modernize 60 pods over 2 quarters without disrupting feature development. We bring it all home and share our learnings and scars. Phase 1: Proving That SPM Could Coexist Big bang approaches for a product that supports over a billion Indians is not on the menu. We could not stop the train and we had to upgrade while we ran as fast as we were. Swift Package Manager (SPM) had to live alongside CocoaPods without disrupting day-to-day development. This was not negotiable. It was also about building confidence gradually. Our dependency graph was already complex, and CocoaPods was deeply embedded in how the app was built, tested, and shipped. Introducing a second dependency manager into that ecosystem was risky. If coexistence failed, everything downstream would be compromised. So we treated Phase 1 as a controlled experiment. Defining Success We were explicit about what success looked like: Developers should not need to change their workflows CI pipelines must remain stable No runtime regressions CocoaPods must remain fully functional Choosing the Right First Dependencies We intentionally avoided internal SDKs in this phase. Instead, we chose third-party libraries that already had mature SPM support and met three criteria: widely used in the app, minimal customization, and no deep runtime coupling with internal frameworks or development pods. This allowed us to isolate SPM behavior without risking business-critical flows. By migrating only a handful of carefully selected dependencies, we could observe real-world behavior without destabilizing the system. Invisible to Developers One of the most important constraints we enforced was developer invisibility. Developers continued to open the same workspace, build using the same schemes, run tests t

## React Native 0.84 - Hermes V1 by Default

DevFeed: [React Native 0.84 - Hermes V1 by Default](<https://devfeed.tech/articles/react-native-0-84-hermes-v1-by-default-48132.md>)

Original publisher: [Read original article](<https://reactnative.dev/blog/2026/02/11/react-native-0.84>)

Author: Alex Hunt; Alan Lee; Christian Falch; Gabriel Donadel Dall'Agnol

Published: 2026-02-11T00:00:00Z

Content type: release

Language: en

Sources: [React Native Blog](<https://devfeed.tech/sources/react-native-blog.md>)

Topics: [React Native](<https://devfeed.tech/topics/react-native.md>), [Android](<https://devfeed.tech/topics/android.md>), [build times](<https://devfeed.tech/topics/build-times.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [legacy systems](<https://devfeed.tech/topics/legacy-systems.md>), [Environment Variables](<https://devfeed.tech/topics/environment-variables.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [announcement-release](<https://devfeed.tech/tags/announcement-release.md>), [binaries](<https://devfeed.tech/tags/binaries.md>), [build-times](<https://devfeed.tech/tags/build-times.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [ios](<https://devfeed.tech/tags/ios.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [legacy](<https://devfeed.tech/tags/legacy.md>), [npm](<https://devfeed.tech/tags/npm.md>), [pnpm](<https://devfeed.tech/tags/pnpm.md>), [react-native](<https://devfeed.tech/tags/react-native.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

React Native 0.84 makes Hermes V1 the default JavaScript engine on iOS and Android, removes more Legacy Architecture components, enables precompiled iOS binaries by default, and requires Node.js 22.

### Source excerpt

Today we're excited to release React Native 0.84!

## Testing a Gradle Plugin that interacts with Git

DevFeed: [Testing a Gradle Plugin that interacts with Git](<https://devfeed.tech/articles/testing-a-gradle-plugin-that-interacts-with-git-25587.md>)

Original publisher: [Read original article](<https://www.marcogomiero.com/posts/2025/test-gradle-plugin-git/>)

Author: Marco Gomiero

Published: 2025-05-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [Posts on Marco Gomiero](<https://devfeed.tech/sources/posts-on-marco-gomiero.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [Git](<https://devfeed.tech/topics/git.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [git](<https://devfeed.tech/tags/git.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

This tutorial explains how to test a Gradle plugin that publishes Kotlin Multiplatform frameworks through Git-based CocoaPods repositories. It uses Gradle TestKit and local Git bare repositories to automate testing without relying on manual verification or actual remote repositories.

### Source excerpt

Some time ago, I built KMP Framework Bundler, a Gradle plugin for Kotlin Multiplatform projects that generates an XCFramework for Apple targets or a FatFramework for iOS targets and manages the publishing process to a CocoaPods repository. (Note: the plugin is currently in maintenance mode; using KMMBridge might be a better option.) After building the Framework, the plugin handles the publishing process by interacting with a Git-based CocoaPods repository. It copies the Framework into the repository, updates the podspec file with the latest version, commits the changes, and pushes them.

## Fastlane in Kotlin Multiplatform projects - Gustavo Fão Valvassori

DevFeed: [Fastlane in Kotlin Multiplatform projects - Gustavo Fão Valvassori](<https://devfeed.tech/articles/fastlane-in-kotlin-multiplatform-projects-gustavo-fao-valvassori-38203.md>)

Original publisher: [Read original article](<https://touchlab.co/fastlane-kmp>)

Published: 2025-03-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Android Library](<https://devfeed.tech/topics/android-library.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Ruby](<https://devfeed.tech/topics/ruby.md>), [rubygems](<https://devfeed.tech/topics/rubygems.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [android-library](<https://devfeed.tech/tags/android-library.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [community](<https://devfeed.tech/tags/community.md>), [fastlane](<https://devfeed.tech/tags/fastlane.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [rubygems](<https://devfeed.tech/tags/rubygems.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

A tutorial on using Fastlane to automate build, testing, and deployment tasks in Kotlin Multiplatform projects. It explains differences between Android and iOS setups, including projects using CocoaPods, Xcode Build Phases, or KMMBridge, and introduces Fastfile lanes and command-line execution.

### Source excerpt

Fastlane is a great tool for automating your mobile app tasks. In this post, we will show how to use Fastlane in a Kotlin Multiplatform project.

## KMMBridge 1.2.1 Released - Kevin Schildhorn

DevFeed: [KMMBridge 1.2.1 Released - Kevin Schildhorn](<https://devfeed.tech/articles/kmmbridge-1-2-1-released-kevin-schildhorn-38241.md>)

Original publisher: [Read original article](<https://touchlab.co/kmmbridge-1.2.1>)

Published: 2025-02-04T00:00:00Z

Content type: release

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [releases](<https://devfeed.tech/topics/releases.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [gradle-plugin](<https://devfeed.tech/topics/gradle-plugin.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kmmbridge](<https://devfeed.tech/tags/kmmbridge.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [release](<https://devfeed.tech/tags/release.md>), [spm](<https://devfeed.tech/tags/spm.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

KMMBridge 1.2.1 adds support for publishing Kotlin Multiplatform framework binaries as GitHub Releases for CocoaPods integration. It also improves CocoaPods build error logging.

### Source excerpt

KMMBridge is a Gradle plugin that publishes Kotlin Multiplatform Xcode Framework dependencies for Swift Package Manager and CocoaPods. The 1.2.1 release fixes issues around publishing packages using CocoaPods.

## KMMBridge 1.1.0 Released - Kevin Galligan

DevFeed: [KMMBridge 1.1.0 Released - Kevin Galligan](<https://devfeed.tech/articles/kmmbridge-1-1-0-released-kevin-galligan-38240.md>)

Original publisher: [Read original article](<https://touchlab.co/kmmbridge-1.1>)

Published: 2024-12-05T00:00:00Z

Content type: release

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Refactoring](<https://devfeed.tech/topics/refactoring.md>), [gradle-plugin](<https://devfeed.tech/topics/gradle-plugin.md>), [Maintainability](<https://devfeed.tech/topics/maintainability.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [.NET](<https://devfeed.tech/topics/net.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kmmbridge](<https://devfeed.tech/tags/kmmbridge.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [releases](<https://devfeed.tech/tags/releases.md>), [spm](<https://devfeed.tech/tags/spm.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

KMMBridge 1.1.0 is a significant internal refactoring of the Gradle plugin used to publish Kotlin Multiplatform Xcode Framework binaries through Swift Package Manager and CocoaPods. The release improves maintainability and adds Gradle configuration cache support where possible, while introducing separate modules for GitHub features and potentially requiring plugin ID changes for GitHub publishing.

### Source excerpt

KMMBridge is a Gradle plugin that publishes Kotlin Multiplatform Xcode Framework dependencies for Swift Package Manager and CocoaPods. The 1.1.0 release is a significant internal refactoring to support ongoing improvements and maintainability.

## Choosing Local Linking or Dependency Managers for Kotlin Multiplatform iOS Frameworks

DevFeed: [Choosing Local Linking or Dependency Managers for Kotlin Multiplatform iOS Frameworks](<https://devfeed.tech/articles/local-or-remote-how-you-add-your-kmp-framework-matters-kevin-schildhorn-38225.md>)

Original publisher: [Read original article](<https://touchlab.co/ios-framework-local-or-remote>)

Published: 2024-06-26T00:00:00Z

Content type: article

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kmp](<https://devfeed.tech/tags/kmp.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [spm](<https://devfeed.tech/tags/spm.md>)

### AI overview

This article compares direct local linking with Swift Package Manager and CocoaPods for Kotlin Multiplatform frameworks in iOS projects. It recommends direct linking for local KMP development when possible, while noting that CocoaPods can make sense when it is already used for the app's dependencies and dependency managers are generally suited to published binaries.

### Source excerpt

Do you actually need to use SPM or Cocoapods to include KMP? You don't, and it might not be the right answer

## KMP Team Workflows with KMMBridge - Kevin Galligan

DevFeed: [KMP Team Workflows with KMMBridge - Kevin Galligan](<https://devfeed.tech/articles/kmp-team-workflows-with-kmmbridge-kevin-galligan-38244.md>)

Original publisher: [Read original article](<https://touchlab.co/kmmbridge-team-workflows>)

Published: 2023-10-06T10:00:28Z

Content type: tutorial

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Template](<https://devfeed.tech/topics/template.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [binaries](<https://devfeed.tech/tags/binaries.md>), [build](<https://devfeed.tech/tags/build.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kmp](<https://devfeed.tech/tags/kmp.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [project](<https://devfeed.tech/tags/project.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

This article explains how KMMBridge supports Kotlin Multiplatform team workflows by assembling and publishing Xcode Framework binaries for distribution through Swift Package Manager, CocoaPods, or private repositories. It also introduces a Quick Start template for publishing Android and iOS binaries.

### Source excerpt

Team workflows with Kotlin Multiplatform vary in structure. KMMBridge is a tool that allows you to publish Xcode Framework binaries from Kotlin that can be distributed, for your team internally, or to outside developers.

## When Should I Use KMMBridge? - Russell Wolf

DevFeed: [When Should I Use KMMBridge? - Russell Wolf](<https://devfeed.tech/articles/when-should-i-use-kmmbridge-russell-wolf-38348.md>)

Original publisher: [Read original article](<https://touchlab.co/when-should-i-use-kmmbridge>)

Published: 2023-01-10T08:00:00Z

Content type: article

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [kmmbridge](<https://devfeed.tech/tags/kmmbridge.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-multiplatform-mobile](<https://devfeed.tech/tags/kotlin-multiplatform-mobile.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [thoughts](<https://devfeed.tech/tags/thoughts.md>)

### AI overview

This article explains when teams should use KMMBridge rather than KaMPKit for Kotlin Multiplatform projects. It focuses on teams with existing iOS applications, separate repositories, or developers who do not need to work directly with Kotlin, and describes consuming published Kotlin binaries through CocoaPods or Swift Package Manager.

### Source excerpt

Here is how to determine when to use KMMBridge vs KaMPKit for your multiplatform projects, depending on your team's needs.

## Samples of Using KMMBridge - Michael Friend

DevFeed: [Samples of Using KMMBridge - Michael Friend](<https://devfeed.tech/articles/samples-of-using-kmmbridge-michael-friend-38312.md>)

Original publisher: [Read original article](<https://touchlab.co/samples-of-using-kmmbridge>)

Published: 2022-11-29T16:25:42Z

Content type: tutorial

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [gradle-plugin](<https://devfeed.tech/topics/gradle-plugin.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [code-sharing](<https://devfeed.tech/tags/code-sharing.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [kmm](<https://devfeed.tech/tags/kmm.md>), [kmmbridge](<https://devfeed.tech/tags/kmmbridge.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [spm](<https://devfeed.tech/tags/spm.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>)

### AI overview

This sample project demonstrates how to add Kotlin Multiplatform code to existing Android and iOS apps using KMMBridge. It describes a setup split across four repositories, with SDK distribution through CocoaPods and Swift Package Manager.

### Source excerpt

As you explore how KMM can help your mobile dev team, we've put together more KMMBridge sample to help you evaluate this best-in-class tool.

## The Evolution of Kotlin Multiplatform Mobile - 2022 Edition - Russell Wolf

DevFeed: [The Evolution of Kotlin Multiplatform Mobile - 2022 Edition - Russell Wolf](<https://devfeed.tech/articles/the-evolution-of-kotlin-multiplatform-mobile-2022-edition-russell-wolf-38328.md>)

Original publisher: [Read original article](<https://touchlab.co/the-evolution-of-kotlin-multiplatform-mobile>)

Published: 2022-10-31T18:13:15Z

Content type: opinion

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [Library](<https://devfeed.tech/topics/library.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Maven Central](<https://devfeed.tech/topics/maven-central.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [jetbrains](<https://devfeed.tech/tags/jetbrains.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-multiplatform-mobile](<https://devfeed.tech/tags/kotlin-multiplatform-mobile.md>), [kotlin-native](<https://devfeed.tech/tags/kotlin-native.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [maven-central](<https://devfeed.tech/tags/maven-central.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>)

### AI overview

This retrospective traces Kotlin Multiplatform Mobile from its early experimental stage, when Kotlin/Native memory management, Gradle configuration, and Xcode integration were difficult, to a more mature state with improved memory management, iOS integration through CocoaPods and Swift Package Manager, and better Kotlin-to-Swift interoperability. It also describes growth in the KMM library ecosystem, from about five published libraries in 2018 to more than 1,000 relevant artifacts on Maven Central.

### Source excerpt

Kotlin Multiplatform has come a long way in the last few years. As someone who was there when the KMP community first formed, I've seen the ecosystem grow from a few developers trying things out experimentally to a growing number of teams using it in their production apps. With the Kotlin Multiplatform Mobile Beta freshly announced, it's a neat moment to look back on how far everything has come. How It Started In the early days, KMP wasn't very easy for new users.

## Quick Start with KMMBridge - 1 hour tutorial - Kevin Galligan

DevFeed: [Quick Start with KMMBridge - 1 hour tutorial - Kevin Galligan](<https://devfeed.tech/articles/quick-start-with-kmmbridge-1-hour-tutorial-kevin-galligan-38310.md>)

Original publisher: [Read original article](<https://touchlab.co/quick-start-with-kmmbridge-1-hour-tutorial>)

Published: 2022-10-24T23:13:36Z

Content type: tutorial

Language: en

Sources: [Touchlab](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [built-by-touchlab](<https://devfeed.tech/tags/built-by-touchlab.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [kmm](<https://devfeed.tech/tags/kmm.md>), [kmmbridge](<https://devfeed.tech/tags/kmmbridge.md>), [kmp](<https://devfeed.tech/tags/kmp.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [quick-start](<https://devfeed.tech/tags/quick-start.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A tutorial for using Touchlab's KMMBridge Gradle tool to build and publish an Xcode Framework from Kotlin for integration into an Xcode project without compiling Kotlin locally. It focuses on basic Kotlin Multiplatform integration for teams using GitHub, CocoaPods or Swift Package Manager, and GitHub Actions.

### Source excerpt

Staying true to our goal of making it easier for teams to get the benefits of Kotlin Multiplatform more quickly, this tutorial will help many of you get a basic integration working in about an hour or less. The tooling available for KMM and KMP has been mostly focused around local dev, but as adoption continues to increase, tooling for teams needs to mature as well.

## Testing a Shared KMM Repo Locally

DevFeed: [Testing a Shared KMM Repo Locally](<https://devfeed.tech/articles/testing-a-shared-kmm-repo-locally-25526.md>)

Original publisher: [Read original article](<https://aleckazakova.com/posts/local-kmm/>)

Author: Author

Published: 2021-05-04T01:37:14Z

Content type: tutorial

Language: en

Sources: [Posts on AlecStrong](<https://devfeed.tech/sources/posts-on-alecstrong.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [kmm](<https://devfeed.tech/tags/kmm.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-multiplatform-mobile](<https://devfeed.tech/tags/kotlin-multiplatform-mobile.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

A tutorial on developing Kotlin Multiplatform Mobile code locally when shared code is maintained in a separate repository. It describes using Gradle composite builds for Android and CocoaPods local development for iOS instead of published artifacts.

### Source excerpt

There's a lot of different ways of organizing your Kotlin Multiplatform Mobile codebase, Ben Asher and I gave an overview of some of those at KotlinConf 2019, where I described a setup where the shared code lives in your iOS and Android codebase and is copied between them. The pro of this was an easy local development setup, but there are a lot of cons. We moved away from this style to a separate (third) repository for the multiplatform code last year.

## SQLCipher and KMM

DevFeed: [SQLCipher and KMM](<https://devfeed.tech/articles/sqlcipher-and-kmm-25953.md>)

Original publisher: [Read original article](<https://medium.com/@kpgalligan/sqlcipher-and-kmm-58d96ea8095d?source=rss-c2f810aa7890------2>)

Author: Kevin Galligan

Published: 2020-09-23T15:17:52Z

Content type: tutorial

Language: en

Sources: [Kevin Galligan](<https://devfeed.tech/sources/stories-by-kevin-galligan-on-medium.md>)

Topics: [Encryption](<https://devfeed.tech/topics/encryption.md>), [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-native](<https://devfeed.tech/tags/kotlin-native.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

### AI overview

A follow-up tutorial explains how to configure SQLDelight with SQLCipher for Kotlin Multiplatform, focusing on the iOS implementation. It covers forcing a fixed SQLiter version, configuring the native driver, disabling SQLite linking, and adding the SQLCipher dependency through CocoaPods.

### Source excerpt

Here's a quick little followup to Sam's post: Multiplatform Encryption with SQLDelight and SQLCipher. Recently for a client we needed to implement this with Kotlin 1.4.0, and ran into a couple issues. I'm only going to describe how to get the iOS side working as Android is pretty straightforward (although Android is in the sample and video). Here's KaMPKit updated to use SQLCipher touchlab-lab/KaMPKitSQLCipher The cipher key is hardcoded in code. Do *not* do that in your app. You need to get your key from a more secure source. Here's a video showing edits on KaMP Kit: https://medium.com/media/e66f6e9738b614e0f6e2040ef887c0c1/href SQLiter ran into an issue setting the key for SQLCipher. That apparently used to work, but stopped at some point. There was a PR to fix that, but that was not merged in before 0.7.0 was released. 0.7.0 is used in the current version of SQLDelight, so you'll need to force this fixed version. sourceSets["iosMain"].dependencies { implementation("co.touchlab:sqliter:0.7.1") { version { strictly("0.7.1") } } //etc... } We also had an issue with our custom cocoapods fork, so if by chance you're using that, you'll need to use the latest, which is version 0.12. To configure your SQLDelight driver for native, you need to supply a custom DatabaseConfiguration for SQLiter. val schema = YourDb.Schema //SQLDelight Schema val configuration = DatabaseConfiguration( name = "YourDbName", version = schema.version, create = { connection -> wrapConnection(connection) { schema.create(it) } }, upgrade = { connection, oldVersion, newVersion -> wrapConnection(connection) { schema.migrate(it, oldVersion, newVersion ) } } ,key = yourCipherKey ) val driver = NativeSqliteDriver(configuration) To get this all to work in iOS, as discussed in Sam's post, disable sqlite linking: sqldelight { database("YourDb") { packageName = "co.touchlab.yourapp.db" linkSqlite = false } } Then add the SQLCipher dependency (if using cocoapods) cocoapods[ext] { summary = "Shared code for Y

## How to start use Kotlin Multiplatform for mobile development

DevFeed: [How to start use Kotlin Multiplatform for mobile development](<https://devfeed.tech/articles/how-to-start-use-kotlin-multiplatform-for-mobile-development-24584.md>)

Original publisher: [Read original article](<https://medium.com/icerock/how-to-start-use-kotlin-multiplatform-for-mobile-development-1d3022742178?source=rss-2f461fccc401------2>)

Author: IceRock Development

Published: 2019-11-01T15:40:22Z

Content type: tutorial

Language: en

Sources: [IceRock Development](<https://devfeed.tech/sources/stories-by-icerock-development-on-medium.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Android](<https://devfeed.tech/topics/android.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-gradle-plugin](<https://devfeed.tech/tags/android-gradle-plugin.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [app](<https://devfeed.tech/tags/app.md>), [bug](<https://devfeed.tech/tags/bug.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [development](<https://devfeed.tech/tags/development.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [ios](<https://devfeed.tech/tags/ios.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-native](<https://devfeed.tech/tags/kotlin-native.md>), [library](<https://devfeed.tech/tags/library.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mobile-development](<https://devfeed.tech/tags/mobile-development.md>), [mpp](<https://devfeed.tech/tags/mpp.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

The guide turns existing Android and iOS apps into a Kotlin Multiplatform project by adding a shared Gradle library with common, Android-specific, and iOS-specific source sets. It lists Android Studio 3.4.0+ (warning against 3.5.1 due to a project-breaking bug), Xcode 10.3+, Xcode Command Line Tools, and CocoaPods as prerequisites, then walks through configuring targets, connecting the library to Android, and building and importing an iOS framework. For iOS, it first shows manual Xcode framework setup, which is simulator-only in the described configuration; its CocoaPods approach adds Gradle-driven framework compilation and supports device builds, though Xcode builds may require a separately installed JDK if Gradle cannot find Java.

### Source excerpt

1. Set up Kotlin Multiplatform Project We are going to turn two standard projects (Android and iOS) into a multiplatform project with a shared library on Kotlin Multiplatform. We will need: Android Studio 3.4.0+ (do not use 3.5.1 version, cause there is a bug is breaking MPP project); Xcode 10.3+; Xcode Command Line Tools (xcode-select --install); CocoaPods (sudo gem install cocoapods). To start, we'll need an Android project created from an Android Studio template and an iOS project created from an Xcode template. Put both projects in the same directory: ├── android-app │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ ├── androidTest │ │ └── java │ │ └── com │ │ └── icerockdev │ │ └── android_app │ │ └── ExampleInstrumentedTest.kt │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ └── icerockdev │ │ │ └── android_app │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ ├── layout │ │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── icerockdev │ └── android_app │ └── ExampleUnitTest.kt ├── build.gradle ├── gradle │ └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradle.properties ├── gradlew ├── gradlew.bat ├── ios-app │ ├── ios-app │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json

## Fixing autocompletion on mixed Objective-C and Swift projects

DevFeed: [Fixing autocompletion on mixed Objective-C and Swift projects](<https://devfeed.tech/articles/fixing-autocompletion-on-mixed-objective-c-and-swift-projects-21621.md>)

Original publisher: [Read original article](<http://miqu.me/blog/2017/06/16/fixing-autocompletion-on-mixed-objective-c-and-swift-projects/>)

Author: Miguel Angel Quiñones

Published: 2017-06-16T22:55:27Z

Content type: tutorial

Language: en

Sources: [Miguel Quinones](<https://devfeed.tech/sources/miguel-quinones.md>)

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [Objective-C](<https://devfeed.tech/topics/objective-c.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [2017](<https://devfeed.tech/tags/2017.md>), [apple](<https://devfeed.tech/tags/apple.md>), [bridging](<https://devfeed.tech/tags/bridging.md>), [bug](<https://devfeed.tech/tags/bug.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [code-completion](<https://devfeed.tech/tags/code-completion.md>), [debug](<https://devfeed.tech/tags/debug.md>), [ide](<https://devfeed.tech/tags/ide.md>), [import](<https://devfeed.tech/tags/import.md>), [index](<https://devfeed.tech/tags/index.md>), [indexer](<https://devfeed.tech/tags/indexer.md>), [issue](<https://devfeed.tech/tags/issue.md>), [latest-release](<https://devfeed.tech/tags/latest-release.md>), [objective-c](<https://devfeed.tech/tags/objective-c.md>), [project](<https://devfeed.tech/tags/project.md>), [projects](<https://devfeed.tech/tags/projects.md>), [swift](<https://devfeed.tech/tags/swift.md>), [wwdc](<https://devfeed.tech/tags/wwdc.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

In the author's mixed Objective-C/Swift project, Swift autocompletion could fail intermittently because SourceKit had trouble indexing a library header imported without its path in the bridging header. The workaround was to use a library-style import such as `#import "path-to-library/MyClass.h"` instead of `#import "MyClass.h"`; the latter still compiled but could break completion. To investigate, the excerpt describes checking the SourceKit service log for code-completion requests, taking the compiler arguments and source file from the log, and running a Swift frontend invocation to expose the failing header. The author was unsure whether the behavior was an indexer bug or an import inconsistency. An update says the issues seemed fixed in Xcode 9.0.1 and that the Internal menu no longer appeared accessible, limiting the relevance of the debugging-menu steps.

### Source excerpt

This year I had the privilege of attending WWDC for the first time. I knew the labs were very important, and I want to share a resolution to fix a problem for our big project at Peak: Autocompletion on Swift code was not working most of the time in the IDE, and with the help of an Apple engineer in the labs we got it sorted. Update on 30/10/2017: The issues described here seem to be fixed with latest release version of Xcode 9.0.1 (9A1004). Also the 'internal' menu doesn't seem to be accessible anymore. If you know how to access it I'd love to hear from you! The issue If you are using Xcode 8 or Xcode 9 (beta 1 as of this writing), when you have a project with mixed Objective-C and Swift, you might encounters problems with autocompletion inside the Swift code. We've had this intermitently and most recent IDE versions made work very difficult as we would not have any autocompletion for our Swift code, or it would work intermitently. Our gut feeling was that the bridging header had some classes that were causing SourceKit to fail, but we didn't know how to debug the issue nor provide good feedback for Apple to fix it. Our chance came while visiting the labs at the conference, and a very helpful and patient Apple engineer worked with our project to understand what was wrong. Bridging header imports It turns out that if you import classes from libraries (in our case using CocoaPods) omitting the path may result in Sourcekit unable to index properly. For example, a class in some library: #import "MyClass.h" Code will compile fine but your code completion in Swift side might break because the indexer fails when encountering this file. I'm still unsure if it's because of importing the file somewhere else differently or if it's just a bug in the indexer. Anyway, the way to work around it (Apple is supposedly aware of this) is to import with the framework or library style, including the path: #import "path-to-library/MyClass.h" How to debug The engineer kindly made a wrote u

## Fixing autocompletion on mixed Objective-C and Swift projects

DevFeed: [Fixing autocompletion on mixed Objective-C and Swift projects](<https://devfeed.tech/articles/fixing-autocompletion-on-mixed-objective-c-and-swift-projects-97441.md>)

Original publisher: [Read original article](<https://miqu.me/blog/2017/06/16/fixing-autocompletion-on-mixed-objective-c-and-swift-projects/>)

Published: 2017-06-16T22:55:27Z

Content type: article

Language: en

Sources: [Miguel Quinones](<https://devfeed.tech/sources/miguel-quinones.md>)

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [Objective-C](<https://devfeed.tech/topics/objective-c.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [2017](<https://devfeed.tech/tags/2017.md>), [apple](<https://devfeed.tech/tags/apple.md>), [bridging](<https://devfeed.tech/tags/bridging.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [code-completion](<https://devfeed.tech/tags/code-completion.md>), [debug](<https://devfeed.tech/tags/debug.md>), [import](<https://devfeed.tech/tags/import.md>), [indexer](<https://devfeed.tech/tags/indexer.md>), [objective-c](<https://devfeed.tech/tags/objective-c.md>), [swift](<https://devfeed.tech/tags/swift.md>), [tips](<https://devfeed.tech/tags/tips.md>), [wwdc](<https://devfeed.tech/tags/wwdc.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

In mixed Objective-C and Swift projects using Xcode 8 or Xcode 9 beta 1, a library header imported in a bridging header without its path could compile successfully yet cause SourceKit indexing to fail and Swift autocompletion to break intermittently. The reported workaround is to include the library path in the import, such as `#import "path-to-library/MyClass.h"`. To investigate, enable Xcode's debug menu from the command line, inspect `/tmp/sourcekit-service-log.txt` for code-completion requests, and use the logged compiler arguments to run a Swift frontend invocation; the resulting errors can identify headers to fix. The author said the issue seemed fixed in Xcode 9.0.1 and that the Internal menu no longer appeared accessible.

### Source excerpt

This year I had the privilege of attending WWDC for the first time. I knew the labs were very important, and I want to share a resolution to fix a problem for our big project at Peak: Autocompletion on Swift code was not working most of the time in the IDE, and with the help of an Apple engineer in the labs we got it sorted. Update on 30/10/2017: The issues described here seem to be fixed with latest release version of Xcode 9.0.1 (9A1004). Also the 'internal' menu doesn't seem to be accessible anymore. If you know how to access it I'd love to hear from you! The issue If you are using Xcode 8 or Xcode 9 (beta 1 as of this writing), when you have a project with mixed Objective-C and Swift, you might encounters problems with autocompletion inside the Swift code. We've had this intermitently and most recent IDE versions made work very difficult as we would not have any autocompletion for our Swift code, or it would work intermitently. Our gut feeling was that the bridging header had some classes that were causing SourceKit to fail, but we didn't know how to debug the issue nor provide good feedback for Apple to fix it. Our chance came while visiting the labs at the conference, and a very helpful and patient Apple engineer worked with our project to understand what was wrong. Bridging header imports It turns out that if you import classes from libraries (in our case using CocoaPods) omitting the path may result in Sourcekit unable to index properly. For example, a class in some library: #import "MyClass.h" Code will compile fine but your code completion in Swift side might break because the indexer fails when encountering this file. I'm still unsure if it's because of importing the file somewhere else differently or if it's just a bug in the indexer. Anyway, the way to work around it (Apple is supposedly aware of this) is to import with the framework or library style, including the path: #import "path-to-library/MyClass.h" How to debug The engineer kindly made a wrote u

## Reducing the pain of git bisect with Xcode

DevFeed: [Reducing the pain of git bisect with Xcode](<https://devfeed.tech/articles/reducing-the-pain-of-git-bisect-with-xcode-97438.md>)

Original publisher: [Read original article](<https://miqu.me/blog/2017/01/22/reducing-the-pain-of-git-bisect-with-xcode/>)

Published: 2017-01-22T11:49:01Z

Content type: tutorial

Language: en

Sources: [Miguel Quinones](<https://devfeed.tech/sources/miguel-quinones.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [workflow automation](<https://devfeed.tech/topics/workflow-automation.md>)

Tags: [automate](<https://devfeed.tech/tags/automate.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [git](<https://devfeed.tech/tags/git.md>), [git-bisect](<https://devfeed.tech/tags/git-bisect.md>), [ios](<https://devfeed.tech/tags/ios.md>), [ios-development](<https://devfeed.tech/tags/ios-development.md>), [regression](<https://devfeed.tech/tags/regression.md>), [tips](<https://devfeed.tech/tags/tips.md>), [tools](<https://devfeed.tech/tags/tools.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

Git bisect narrows a regression to a commit by searching between known good and bad revisions, but iOS projects can make each step slow: CocoaPods dependencies may need refreshing, reproducing bugs may require manual testing or a device, and Xcode reindexes changed sources. The article suggests using a Git post-checkout hook to run `pod install` and close and reopen Xcode, or to build with `xcodebuild` and launch a simulator with `ios-sim`; manual reproduction and good/bad feedback remain necessary when tests do not cover the bug. It also recommends granular commits, ensuring each commit compiles, considering checking in Pods, and writing meaningful commit messages. The excerpt gives a simulator command for a specific older SDK and device type, so it does not establish a general setup for all projects.

### Source excerpt

There's times when you need to investigate regressions in your project, and you don't know have any clue as why something is happening. Git bisect is the best tool for this cases, but it can be painful to use in non small projects using CocoaPods and Xcode. I want to share what I've been doing to ease the pain. If you never used Git bisect, check this introduction. The git command performs a binary search across your repository history, starting from two known commits you provide to the algorithm: 'Good' and 'Bad'. 'Bad' will usually be your last commit, and 'Good' will be a commit back in the history of your repository, when you know the code was working as expected. For every step of the search you need to tell git if a commit is good or bad, either manually or automatically by running a script. Pain points When we enter the realm of iOS development, there's a some factors that make bisect tedious to use. If you use CocoaPods, and if you don't check in the 'Pods' directory in source control, every time you change branch or bisect selects a new commit, you might need to run pod install in order to have all dependencies available and compile correctly. If you are searching for a regression, chances are you don't have an automated test suite, so you'll need to run your app manually and reproduce the issue you are searching for. There will be cases when you're dealing with a bug that needs an app reinstall or needs to run on device to reproduce. To top all this, Xcode will start the long indexing process every time there's changes to the sources due to change of commit, so your computer will start doing lot of work. All of these nuances makes the process of searching for issues using bisect very tedious and not so 'magical' as it is supposed to be. I've nevertheless used bisect many times to save time otherwise wasted reading code and navigating breakpoints during long debugging sessions. You just need some patience and the will to automate some stuff. Reducing the pa

## Reducing the pain of git bisect with Xcode

DevFeed: [Reducing the pain of git bisect with Xcode](<https://devfeed.tech/articles/reducing-the-pain-of-git-bisect-with-xcode-21618.md>)

Original publisher: [Read original article](<http://miqu.me/blog/2017/01/22/reducing-the-pain-of-git-bisect-with-xcode/>)

Author: Miguel Angel Quiñones

Published: 2017-01-22T11:49:01Z

Content type: tutorial

Language: en

Sources: [Miguel Quinones](<https://devfeed.tech/sources/miguel-quinones.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [cocoapods](<https://devfeed.tech/topics/cocoapods.md>)

Tags: [automate](<https://devfeed.tech/tags/automate.md>), [binary-search](<https://devfeed.tech/tags/binary-search.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [ease](<https://devfeed.tech/tags/ease.md>), [git](<https://devfeed.tech/tags/git.md>), [git-bisect](<https://devfeed.tech/tags/git-bisect.md>), [indexing](<https://devfeed.tech/tags/indexing.md>), [ios](<https://devfeed.tech/tags/ios.md>), [ios-development](<https://devfeed.tech/tags/ios-development.md>), [regression](<https://devfeed.tech/tags/regression.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

Git bisect narrows a regression to a commit by searching between known good and bad revisions, but iOS projects can make each step slow: CocoaPods dependencies may need reinstalling, reproducing bugs may require manual app testing or a device, and Xcode reindexes after source changes. The excerpt recommends automating `pod install` with Git's `post-checkout` hook when Pods are not checked in, and combining `xcodebuild` with ios-sim to build and launch in a simulator, leaving reproduction and good/bad feedback manual. It also recommends small, meaningful commits that each compile; checking in Pods can avoid fetching dependencies but has unspecified disadvantages.

### Source excerpt

There's times when you need to investigate regressions in your project, and you don't know have any clue as why something is happening. Git bisect is the best tool for this cases, but it can be painful to use in non small projects using CocoaPods and Xcode. I want to share what I've been doing to ease the pain. If you never used Git bisect, check this introduction. The git command performs a binary search across your repository history, starting from two known commits you provide to the algorithm: 'Good' and 'Bad'. 'Bad' will usually be your last commit, and 'Good' will be a commit back in the history of your repository, when you know the code was working as expected. For every step of the search you need to tell git if a commit is good or bad, either manually or automatically by running a script. Pain points When we enter the realm of iOS development, there's a some factors that make bisect tedious to use. If you use CocoaPods, and if you don't check in the 'Pods' directory in source control, every time you change branch or bisect selects a new commit, you might need to run pod install in order to have all dependencies available and compile correctly. If you are searching for a regression, chances are you don't have an automated test suite, so you'll need to run your app manually and reproduce the issue you are searching for. There will be cases when you're dealing with a bug that needs an app reinstall or needs to run on device to reproduce. To top all this, Xcode will start the long indexing process every time there's changes to the sources due to change of commit, so your computer will start doing lot of work. All of these nuances makes the process of searching for issues using bisect very tedious and not so 'magical' as it is supposed to be. I've nevertheless used bisect many times to save time otherwise wasted reading code and navigating breakpoints during long debugging sessions. You just need some patience and the will to automate some stuff. Reducing the pa

## App extensions, Xcode and Cocoapods, OMG!

DevFeed: [App extensions, Xcode and Cocoapods, OMG!](<https://devfeed.tech/articles/app-extensions-xcode-and-cocoapods-omg-21617.md>)

Original publisher: [Read original article](<http://miqu.me/blog/2016/11/28/app-extensions-xcode-and-cocoapods-omg/>)

Author: Miguel Angel Quiñones

Published: 2016-11-28T09:44:54Z

Content type: article

Language: en

Sources: [Miguel Quinones](<https://devfeed.tech/sources/miguel-quinones.md>)

Topics: [cocoapods](<https://devfeed.tech/topics/cocoapods.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [Library](<https://devfeed.tech/topics/library.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [conditionals](<https://devfeed.tech/topics/conditionals.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [app](<https://devfeed.tech/tags/app.md>), [apple](<https://devfeed.tech/tags/apple.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [core](<https://devfeed.tech/tags/core.md>), [extension](<https://devfeed.tech/tags/extension.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [ios](<https://devfeed.tech/tags/ios.md>), [library](<https://devfeed.tech/tags/library.md>), [macros](<https://devfeed.tech/tags/macros.md>), [swift](<https://devfeed.tech/tags/swift.md>), [target](<https://devfeed.tech/tags/target.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

CocoaPods 1.1.0 enables `APPLICATION_EXTENSION_API_ONLY` for libraries linked to app extensions, so compilation can fail when library code references extension-unavailable APIs such as `UIApplication.sharedApplication`, even if the app does not call that code. Mark restricted APIs with `NS_EXTENSION_UNAVAILABLE_IOS`; conditionally compile where needed. For a library that needs different code paths in the app and extension, the excerpt recommends that its author provide separate CocoaPods subspecs, with the extension subspec enabling a preprocessor macro, and that each target link to its corresponding subspec. The workaround requires a podspec change. The excerpt also cautions that Swift extension availability annotations may still fail to permit compilation.

### Source excerpt

Have you encountered this error when upgrading to the latest CocoaPods (1.1.0), or sharing a library between your iOS App and your extension? 1 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead. If yes, continue reading, as you might have encountered same issue as myself. I've recently had to upgrade a project to using Cocoapods 1.1.0. Things stopped compiling, and I had to investigate the root cause of the problem. It has to do with iOS App extensions, unavailable APIs and how fragile our tooling is ;). TL;DR The first cause of error can be fixed by conditionally compiling with a macro. See example here It's better if you define whole classes or API unavailable using NS_EXTENSION_UNAVAILABLE_IOS If you had this error in a 3rd party library you'll need it to be fixed by the author (see below) If you are a library author and need to have different code paths via preprocessor macros, read this thread, and follow the recommendation to create a separated subspec for an extension target Unavailable API for App extensions Since the introduction of Application extensions several years ago, Apple has marked some API as unavailable for these targets. For example, sharedApplication from UIApplication: 1 @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead."); or in Swift: 1 2 @available(iOSApplicationExtension, unavailable) open class var shared: UIApplication { get } Apple is using a new macro, NS_EXTENSION_UNAVAILABLE_IOS to mark API as unavailable. There's a new setting on Xcode, APPLICATION_EXTENSION_API_ONLY, and if set, the code will not compile if it contains a call to sharedApplication. This setting is automatically enabled for extension targets so you get the error in your code when you are writing it. Writing separate code for an App target and and extension target is not

[Next page](<https://devfeed.tech/topics/cocoapods.md?cursor=WyIyMDE2LTExLTI4VDA5OjQ0OjU0KzAwOjAwIiwgIjk2ODg3YTczLTFiYjAtNDVjOS1iZDdkLTYwNjlhZmZmMDI1MyJd>)