# swift-package-manager

Published articles for swift-package-manager.

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

## 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.

## Swift 6.4 unifies building across Linux, macOS, Windows

DevFeed: [Swift 6.4 unifies building across Linux, macOS, Windows](<https://devfeed.tech/articles/swift-6-4-unifies-building-across-linux-macos-windows-41309.md>)

Original publisher: [Read original article](<https://www.theregister.com/devops/2026/09/17/swift-64-unifies-building-across-linux-macos-windows/5297006>)

Author: Joab Jackson

Published: 2026-09-17T04:27:00Z

Content type: article

Language: en

Sources: [theregister](<https://devfeed.tech/sources/www-theregister-com-articles.md>)

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [Windows](<https://devfeed.tech/topics/windows.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [cross-platform-development](<https://devfeed.tech/tags/cross-platform-development.md>), [devops](<https://devfeed.tech/tags/devops.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-6-4](<https://devfeed.tech/tags/swift-6-4.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Swift 6.4 makes Swift Build the default engine for the Swift Package Manager, with building unified across Linux, macOS, and Windows.

### Source excerpt

Swift Build is now the default engine for the Swift Package Manager

## React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

DevFeed: [React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support](<https://devfeed.tech/articles/react-native-0-87-strict-typescript-api-metro-update-swift-package-manager-agp-9-support-48136.md>)

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

Author: Zeya Peng; Fabrizio Cucci; Gabriel Donadel Dall'Agnol; Christian Falch

Published: 2026-08-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>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Android Gradle Plugin](<https://devfeed.tech/topics/android-gradle-plugin.md>), [migration](<https://devfeed.tech/topics/migration.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>)

Tags: [android-gradle-plugin](<https://devfeed.tech/tags/android-gradle-plugin.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [announcement-release](<https://devfeed.tech/tags/announcement-release.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [migration](<https://devfeed.tech/tags/migration.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [react-native](<https://devfeed.tech/tags/react-native.md>), [release](<https://devfeed.tech/tags/release.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

React Native 0.87 makes the Strict TypeScript API the default JavaScript API, updates Metro to 0.87, adds experimental Swift Package Manager support for iOS, and raises minimum toolchain requirements to Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0 or newer. The release also introduces breaking changes and provides migration guidance plus a temporary opt-out for legacy TypeScript types.

### Source excerpt

Today we are excited to release React Native 0.87!

## 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.

## Dependabot now supports Xcode projects using SwiftPM with .xcodeproj manifests

DevFeed: [Dependabot now supports Xcode projects using SwiftPM with .xcodeproj manifests](<https://devfeed.tech/articles/dependabot-now-supports-xcode-projects-using-swiftpm-with-xcodeproj-manifests-71907.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2026-03-31-dependabot-now-supports-xcode-projects-using-swiftpm-with-xcodeproj-manifests>)

Author: Allison

Published: 2026-03-31T17:34:41Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [Dependabot](<https://devfeed.tech/topics/dependabot.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>)

Tags: [dependabot](<https://devfeed.tech/tags/dependabot.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

Dependabot can now detect and update Swift package dependencies managed through Xcode `.xcodeproj` or `.xcworkspace` bundles, even without a top-level `Package.swift`. It finds nested `Package.resolved` files, reads version constraints from `project.pbxproj`, and opens pull requests updating the resolved files in place. Repositories with an `.xcodeproj` bundle and `Package.resolved` are picked up on the next scheduled run; `dependabot.yml` can customize Swift ecosystem updates. The feature is available in GitHub cloud and is planned for GitHub Enterprise Server 3.22.

### Source excerpt

Dependabot can now detect and update Swift package dependencies in Xcode projects that manage packages through .xcodeproj bundles, even when no Package.swift file is present. This improvement has been one...

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

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

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

Author: Dave Lester

Published: 2026-03-31T14:30:00Z

Content type: news

Language: en

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

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [Swift Testing](<https://devfeed.tech/topics/swift-testing.md>), [container](<https://devfeed.tech/topics/container.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [community](<https://devfeed.tech/tags/community.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [release](<https://devfeed.tech/tags/release.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-6-3](<https://devfeed.tech/tags/swift-6-3.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [what-s-new](<https://devfeed.tech/tags/what-s-new.md>)

### AI overview

Swift 6.3 lets developers opt in to Swift Build integration with Swift Package Manager. The project reports hundreds of cross-platform improvements, testing against thousands of open-source packages for parity, and use of Swift Build as the default on Swift's main branch; remaining bugs are still being addressed before a possible future default rollout. The digest also highlights proposals for declaration-scoped compiler warning controls, native SwiftPM SBOM generation in CycloneDX or SPDX formats, XCTest and Swift Testing interoperability, and allowing `reduce` to handle noncopyable values. Community items include Swift systems programming, concurrency, Vapor, and Swift for Wasm.

### Source excerpt

Welcome to "What's new in Swift," a curated digest of releases, videos, and discussions in the Swift project and community. Swift 6.3 has been released, expanding Swift into new domains and improving developer ergonomics. A highlight of its release is work to improve cross-platform build tooling. Owen Voorhees shares an update on that effort: Hi! I'm Owen, a lead engineer on the Core Build team at Apple. Last year we shared our goal to bring Swift Build to Swift Package Manager, in an effort to deduplicate build technologies within the Swift ecosystem and deliver a consistent build experience across all platforms that Swift supports. Since the announcement, we've been working in the open, landing hundreds of patches to improve Swift Build's support across various platforms including Linux and Windows, and to integrate it deeply in Swift Package Manager. With Swift 6.3, developers have the option to enable this integration and try it out with their packages. To validate parity with the previous build system, we've used the package list from swiftpackageindex.com, testing thousands of open source packages with Swift Build. Most recently, the main branch of Swift started using Swift Build as its default build system, paving the way for Swift Build to be the out-of-the-box option for Swift developers in a future Swift release. Over the coming months, we'll continue sharing our progress and driving down the remaining bugs to bring the build system to parity. We encourage you to give it a try and file bugs that you encounter. We're excited by this progress, and look forward to building future tooling improvements across all platforms and project models that will benefit from this build system. Now on to other news about Swift: Videos to watch Interested in Swift for systems programming? The -ization of Containerization, presented at SCaLE, covers the Containerization project and their experience adopting Swift. Swift community meetup #8 featured two talks: real-time compu

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

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

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

Author: Dave Lester

Published: 2026-03-31T14:30:00Z

Content type: news

Language: en

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

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Swift Testing](<https://devfeed.tech/topics/swift-testing.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [build](<https://devfeed.tech/tags/build.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [community](<https://devfeed.tech/tags/community.md>), [containerization](<https://devfeed.tech/tags/containerization.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [linux](<https://devfeed.tech/tags/linux.md>), [open-source-packages](<https://devfeed.tech/tags/open-source-packages.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-6-3](<https://devfeed.tech/tags/swift-6-3.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [systems-programming](<https://devfeed.tech/tags/systems-programming.md>), [what-s-new](<https://devfeed.tech/tags/what-s-new.md>)

### AI overview

Swift 6.3 lets developers opt in to Swift Build integration with Swift Package Manager. The project reports hundreds of patches improving support on platforms including Linux and Windows, and parity testing across thousands of open-source packages. Swift's main branch now uses Swift Build by default; the team says remaining bugs are still being addressed before parity and a possible future out-of-the-box release. The digest also describes proposals under review or recently accepted: declaration-scoped compiler warning controls; SwiftPM SBOM generation in CycloneDX and SPDX formats; interoperability between Swift Testing and XCTest; and `reduce` support for noncopyable values. Other updates include Swift for Wasm, Swift Concurrency, Vapor, and systems programming talks.

### Source excerpt

Welcome to "What's new in Swift," a curated digest of releases, videos, and discussions in the Swift project and community. Swift 6.3 has been released, expanding Swift into new domains and improving developer ergonomics. A highlight of its release is work to improve cross-platform build tooling. Owen Voorhees shares an update on that effort: Hi! I'm Owen, a lead engineer on the Core Build team at Apple. Last year we shared our goal to bring Swift Build to Swift Package Manager, in an effort to deduplicate build technologies within the Swift ecosystem and deliver a consistent build experience across all platforms that Swift supports. Since the announcement, we've been working in the open, landing hundreds of patches to improve Swift Build's support across various platforms including Linux and Windows, and to integrate it deeply in Swift Package Manager. With Swift 6.3, developers have the option to enable this integration and try it out with their packages. To validate parity with the previous build system, we've used the package list from swiftpackageindex.com, testing thousands of open source packages with Swift Build. Most recently, the main branch of Swift started using Swift Build as its default build system, paving the way for Swift Build to be the out-of-the-box option for Swift developers in a future Swift release. Over the coming months, we'll continue sharing our progress and driving down the remaining bugs to bring the build system to parity. We encourage you to give it a try and file bugs that you encounter. We're excited by this progress, and look forward to building future tooling improvements across all platforms and project models that will benefit from this build system. Now on to other news about Swift: Videos to watch Interested in Swift for systems programming? The -ization of Containerization, presented at SCaLE, covers the Containerization project and their experience adopting Swift. Swift community meetup #8 featured two talks: real-time compu

## Stream APIs, Swift Package Manager, Tutorial Trail Refresh, and the UWP Transition

DevFeed: [Stream APIs, Swift Package Manager, Tutorial Trail Refresh, and the UWP Transition](<https://devfeed.tech/articles/stream-apis-swift-package-manager-tutorial-trail-refresh-and-the-uwp-transition-19534.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/stream-apis-spm-tutorial-trail-and-uwp/>)

Author: Shai Almog

Published: 2026-03-20T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Universal Windows Platform](<https://devfeed.tech/topics/uwp.md>), [Maven](<https://devfeed.tech/topics/maven.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>)

Tags: [dependencies](<https://devfeed.tech/tags/dependencies.md>), [ios](<https://devfeed.tech/tags/ios.md>), [java](<https://devfeed.tech/tags/java.md>), [maven-plugin](<https://devfeed.tech/tags/maven-plugin.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [update](<https://devfeed.tech/tags/update.md>)

### AI overview

Codename One adds built-in support for Java Stream APIs and Swift Package Manager integration for iOS dependencies, refreshes its written tutorial trail, and removes the UWP target from the Maven plugin in version 7.0.229.

### Source excerpt

Codename One now includes built-in java.util.stream support, adds Swift Package Manager support for iOS dependencies, refreshes the written tutorial trail, and removes the UWP target from the Maven plugin in 7.0.229.

## 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

## Ship It Right: A Swift Package Quality Checklist. Part 3 of 3.

DevFeed: [Ship It Right: A Swift Package Quality Checklist. Part 3 of 3.](<https://devfeed.tech/articles/ship-it-right-a-swift-package-quality-checklist-part-3-of-3-24555.md>)

Original publisher: [Read original article](<https://medium.com/snapp-mobile/ship-it-right-a-swift-package-quality-checklist-part-3-of-3-e6afbb6f0a0e?source=rss----bcd96e620b02---4>)

Author: Oleksii Kolomiiets

Published: 2026-01-06T15:57:22Z

Content type: article

Language: en

Sources: [Snapp Mobile](<https://devfeed.tech/sources/snapp-mobile-medium.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Swift](<https://devfeed.tech/topics/swift.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [github](<https://devfeed.tech/tags/github.md>), [growth](<https://devfeed.tech/tags/growth.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [ios-development](<https://devfeed.tech/tags/ios-development.md>), [learning](<https://devfeed.tech/tags/learning.md>), [marketing](<https://devfeed.tech/tags/marketing.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [parts](<https://devfeed.tech/tags/parts.md>), [serve](<https://devfeed.tech/tags/serve.md>), [social-media](<https://devfeed.tech/tags/social-media.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-index](<https://devfeed.tech/tags/swift-package-index.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>)

### AI overview

The article argues that a well-built Swift package still needs visibility to reach users. It recommends DocC tutorials for onboarding and common workflows, reserving explanatory articles for concepts, API reference, and configuration. To promote a package, share useful launch and release announcements in Swift community spaces such as forums, Bluesky, Mastodon, LinkedIn, newsletters, Reddit, and technical blogs; explain the problem, show an example, and link to documentation. It cautions against spam, star requests, and promoting every minor change, and recommends continued engagement with users. For hosted documentation, it describes registering a public, valid Swift package with semantic version tags at Swift Package Index and configuring documentation targets in `spi.yml`; SPI review and automatic updates on release tags are noted. These steps can improve discoverability but do not guarantee success.

### Source excerpt

Parts 1 and 2 established everything you need for a solid, maintainable Swift package: documentation, automated quality checks, contributor-friendly processes, and professional releases. Your package is technically excellent and easy to contribute to. But here's the problem: good code doesn't promote itself. I've experienced this with every project. I spent weeks building SwiftFormatLintPlugin, writing documentation, setting up CI, creating examples. Then I pushed it to GitHub and... waited. Nothing happened. No stars, no issues, no discussions. Photo by Jakub Zerdzicki on UnsplashThis series is for Swift developers turning internal packages into polished public repositories. Parts 1-2 covered documentation, quality, and community. This final part focuses on growth and visibility. The same code, after I actually shared it on social media, started getting traction. Developers discovered it. The difference wasn't the code -- it was visibility. You can build the best Swift framework in the world, but if developers don't know about it, the impact is zero. Tutorials: Interactive Learning with DocC We have DocC to create tutorials -- quick-starts or how-tos with code and screenshots in a playful way. Tutorials are interactive, step-by-step guides that walk users through actual implementation. They're more engaging than articles and more structured than example code. I saw the impact tutorials can have when we added them to SnappTheming. Instead of users asking "how do I get started?" in issues, they will work through the tutorial and show up with specific, advanced questions. The tutorial does the heavy lifting of onboarding. Tutorials vs Articles Both are valuable, but they serve different purposes: Tutorials -- "Let's build something together." Interactive, step-by-step, with specific outcomes. Best for getting started or learning a workflow. Articles -- "Here's how this works." Explanatory, reference-oriented. Best for understanding concepts or exploring features. Use tutori

## Ship It Right: A Swift Package Quality Checklist. Part 2 of 3.

DevFeed: [Ship It Right: A Swift Package Quality Checklist. Part 2 of 3.](<https://devfeed.tech/articles/ship-it-right-a-swift-package-quality-checklist-part-2-of-3-24554.md>)

Original publisher: [Read original article](<https://medium.com/snapp-mobile/ship-it-right-a-swift-package-quality-checklist-part-2-of-3-b1a0ed970e4e?source=rss----bcd96e620b02---4>)

Author: Oleksii Kolomiiets

Published: 2026-01-05T08:49:32Z

Content type: tutorial

Language: en

Sources: [Snapp Mobile](<https://devfeed.tech/sources/snapp-mobile-medium.md>)

Topics: [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [issue tracking](<https://devfeed.tech/topics/issue-tracking.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [github](<https://devfeed.tech/tags/github.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [issue](<https://devfeed.tech/tags/issue.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [process](<https://devfeed.tech/tags/process.md>), [quality](<https://devfeed.tech/tags/quality.md>), [releases](<https://devfeed.tech/tags/releases.md>), [right](<https://devfeed.tech/tags/right.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [templates](<https://devfeed.tech/tags/templates.md>)

### AI overview

The article recommends making contribution processes welcoming and lightweight: use an optional PR template with What, Why, and Changes sections, plus a brief CONTRIBUTING.md with steps to fork, branch, test with `swift test`, format, and submit a PR. Organize issues with a small label set and version milestones, triage stale items, and communicate timing or closure decisions clearly. Maintain a Keep a Changelog style `CHANGELOG.md`, updating an Unreleased section as changes merge and reusing its entries in GitHub release notes. For Swift Package Manager, use semantic versioning and annotated Git tags because tags determine available package versions; verify the commit before pushing. The release checklist includes closing milestone issues, passing platform tests, updating the changelog and documentation, tagging, and publishing release notes.

### Source excerpt

In Part 1, we built the foundation: documentation, tests, automated quality checks. Your Swift package is technically solid. The code works, it's well-documented, and it maintains consistent quality. Now comes the shift: from "my code works" to "others can contribute." Photo by Luca Bravo on UnsplashThis series is for Swift developers turning internal packages into polished public repositories. Part 1 covered documentation and quality. This part focuses on community and lifecycle. This is where many solo-developed projects stumble. The code is great, but there's no clear path for contributions. Issues pile up without organization. Releases happen chaotically. The infrastructure that worked for solo development doesn't scale to community development. The gap isn't technical -- it's process. You need infrastructure for guiding contributions, managing work, communicating changes, and shipping professional releases. The first time someone outside your organization contributes to your project is special. They took time to understand your code, fix something, and send it back. Make their experience smooth. A clear contribution path, simple templates, and responsive feedback turn one-time contributors into regular contributors. The infrastructure we're building isn't bureaucracy -- it's hospitality. It shows contributors that you value their time and want to make contributing easy.PR and Issue Templates: Keep Them Simple Here's my philosophy on templates: they should be easy and optional. PR templates with fifteen sections and required checkboxes don't increase quality -- they discourage contributions. Three sections are enough. I learned this watching pull requests to my own projects. Early on, I created comprehensive templates with sections for "Testing Strategy," "Performance Implications," "Breaking Changes," "Documentation Updates," and more. Nobody filled them out completely. Contributors would either skip most sections or write "N/A" repeatedly, which helped nobody. No

## Ship It Right: A Swift Package Quality Checklist. Part 1 of 3.

DevFeed: [Ship It Right: A Swift Package Quality Checklist. Part 1 of 3.](<https://devfeed.tech/articles/ship-it-right-a-swift-package-quality-checklist-part-1-of-3-24553.md>)

Original publisher: [Read original article](<https://medium.com/snapp-mobile/ship-it-right-a-swift-package-quality-checklist-part-1-of-3-34d58d16f581?source=rss----bcd96e620b02---4>)

Author: Oleksii Kolomiiets

Published: 2026-01-05T08:49:11Z

Content type: tutorial

Language: en

Sources: [Snapp Mobile](<https://devfeed.tech/sources/snapp-mobile-medium.md>)

Topics: [swift-package](<https://devfeed.tech/topics/swift-package.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [code comments](<https://devfeed.tech/topics/code-comments.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [code beautification](<https://devfeed.tech/topics/code-beautification.md>), [qualitygates](<https://devfeed.tech/topics/qualitygates.md>), [Code review](<https://devfeed.tech/topics/code-review.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [ci](<https://devfeed.tech/tags/ci.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [example](<https://devfeed.tech/tags/example.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [ios-development](<https://devfeed.tech/tags/ios-development.md>), [license](<https://devfeed.tech/tags/license.md>), [linting](<https://devfeed.tech/tags/linting.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [quality](<https://devfeed.tech/tags/quality.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>)

### AI overview

The article recommends making a public Swift package easy to understand, use, and maintain through clear documentation and automated quality checks. Keep the README concise, covering purpose, installation, a minimal example, documentation links, and license; put API references and detailed guides in DocC, with tested examples. Include an example app alongside the package, preferring a macOS command-line target for faster CI unless the framework needs iOS-specific features. Enforce style in CI with SwiftFormatLintPlugin or SwiftLint; the article says both can be used when formatting and semantic rules are needed. Run unit tests on pushes and pull requests, and use coverage reports as feedback rather than a target. It favors MIT licensing and presents public API documentation and tests as expected foundations for release.

### Source excerpt

I still remember the moment I decided to open-source my first Swift Package Manager plugin. The code worked perfectly in our internal projects at Snapp, but making it public-ready? That was a different story. I spent the next week adding DocC documentation, setting up GitHub Actions CI, writing example apps, and addressing edge cases I'd been ignoring because "it worked for us". Photo by Vooglam Eyewear on UnsplashThis series is for Swift developers turning internal packages into polished public repositories -- covering documentation, quality, and community setup. Here's the thing: most developers know how to write good code. But there's a massive gap between "code that works" and "a repository that welcomes users and contributors." That gap includes: Documentation that assumes zero context -- Your README.md makes sense to you, but will it help someone discovering your project at 2 AM? Quality automation -- Are you manually checking code style, or does your CI catch issues before they reach main? Community infrastructure -- When someone wants to contribute, is the path clear or confusing? Discoverability -- Great code that nobody knows about might as well not exist. I learned these lessons by studying successful repositories, discussing best practices with experienced coworkers, and developing my own sense of what makes a project polished versus what might fall short. Let's start with the most visible part of any repository -- the README. README: Keep It ConciseREADME is the door, not the whole house. Follow a simple rule: the README should answer three questions: What does this do? How do I install it? Where can I learn more? What Belongs in a README 1. Title and One-Line Description -- make it crystal clear what this is. # SwiftFormatLintPlugin A Swift Package Manager plugin that integrates swift-format linting and formatting into your build workflow. 2. Key Badges -- status, version, license, supported platforms etc. [![Tests](https://github.com/oleksiikolomiietssnapp/Me

## 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.

## Adding a Custom Artifact Manager - Kevin Schildhorn

DevFeed: [Adding a Custom Artifact Manager - Kevin Schildhorn](<https://devfeed.tech/articles/adding-a-custom-artifact-manager-kevin-schildhorn-38242.md>)

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

Published: 2025-01-27T20:30:00Z

Content type: tutorial

Language: en

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

Topics: [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kmmbridge](<https://devfeed.tech/tags/kmmbridge.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.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

This tutorial explains how to create a custom KMMBridge Artifact Manager for publishing Kotlin Multiplatform XCFrameworks to Google Cloud Storage. It describes the Artifact Manager interface, its configuration and deployment functions, and where to define the manager in Gradle files.

### Source excerpt

KMMBridge allows you to publish artifacts to some of the most popular repositories online, but what if you want to publish somewhere else? This two part post will go through how to create a custom Artifact Manager for KMMBridge that will store artifacts in Google Cloud Storage

## Linting a Swift package with swift-format

DevFeed: [Linting a Swift package with swift-format](<https://devfeed.tech/articles/linting-a-swift-package-with-swift-format-24550.md>)

Original publisher: [Read original article](<https://medium.com/snapp-mobile/linting-a-swift-package-with-swift-format-a887b4e95a1e?source=rss----bcd96e620b02---4>)

Author: Oleksii Kolomiiets

Published: 2025-01-27T08:59:47Z

Content type: tutorial

Language: en

Sources: [Snapp Mobile](<https://devfeed.tech/sources/snapp-mobile-medium.md>)

Topics: [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [built-in](<https://devfeed.tech/tags/built-in.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [ios](<https://devfeed.tech/tags/ios.md>), [linting](<https://devfeed.tech/tags/linting.md>), [package](<https://devfeed.tech/tags/package.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>)

### AI overview

The excerpt shows how to lint a Swift package during builds with Xcode 16's bundled `swift-format` and a Swift Package build tool plugin. The plugin runs a Bash script via `.buildCommand`; the script locates the formatter with `xcrun --find`, passes the package and `.swiftformat` configuration paths, and runs recursive linting. It filters Swift source files as build inputs and declares a stamp file as output so Xcode can track completion and refresh warnings on later builds. The script reformats formatter diagnostics into Xcode-readable file, line, column, and severity messages, then touches the stamp and exits successfully so lint warnings do not fail the build. The author reports `.prebuildCommand` produced path-related errors and uses `.buildCommand` instead. The example notes that its two-space indentation setting conflicts with four-space Xcode settings, initially producing many warnings; matching the setting and adjusting trailing commas removes them.

### Source excerpt

Linting your code is handy and effective way to keep your team's code style in shape. Nowadays it's hard to imagine a project without functionality that alerts developers with warnings or errors about issues in the code. It could be done with a simple script added to build phases. But what can you do when you don't have one? Packages are excluded from this option, but they still need to be maintained. Or at the very least, you'll feel much better knowing your package code is clean and consistent, and no one can make it messy without receiving a warning. This article explains how to enable linting for a package during its build process, using only the built-in swift-format tool -- no external libraries required. Preparation With Xcode 16, swift-format is included as part of the Xcode toolchain, eliminating the need for external libraries and making Swift file formatting more convenient. For more information, refer to the Getting swift-format section. 1. Create a package Launch Xcode and select File > New > Package from the menu. Chose Library and add the name to the package. 2. Add Plugin Package plugin is: Swift script that can be run as part of your buildA package could have plugins as extra, or be all about pluginsPackage plugins are available only within packageGeneral plugins can be made available to the outsideLets you access development tools on your machine More information about package plugins can be found in the Meet Swift Package plugins article. Start by creating a dedicated folder for all potential plugins, including the one you're currently working on. Ctrl + click on your package name in Xcode and select "New Folder" or use any other method to create a folder in the root of your project. Next, create a folder specifically for your plugin's logic. Since it will lint the package code using swift-format , the name SwiftFormatPlugin was chosen. By the end, the structure would look like this Now, let's add some content to plugin file import Foundation impor

## Debugging Kotlin in Xcode with SPM Builds - Kevin Galligan

DevFeed: [Debugging Kotlin in Xcode with SPM Builds - Kevin Galligan](<https://devfeed.tech/articles/debugging-kotlin-in-xcode-with-spm-builds-kevin-galligan-38318.md>)

Original publisher: [Read original article](<https://touchlab.co/spm-kotlin-debugging>)

Published: 2024-12-13T00: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>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>)

Tags: [builds](<https://devfeed.tech/tags/builds.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [developers](<https://devfeed.tech/tags/developers.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>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [skie](<https://devfeed.tech/tags/skie.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

This article explains how updated SKIE and KMMBridge support local debugging of Kotlin Multiplatform binaries distributed through Swift Package Manager. With the Xcode Kotlin plugin, iOS developers can browse and debug the Kotlin code without locally compiling or configuring KMP dependencies.

### Source excerpt

Virtually all native mobile teams integrate Kotlin Multiplatform by publishing Xcode binaries, usually with SPM. This is generally easy to integrate, but prevented iOS developers from browsing or debugging Kotlin. Today we have fixed that situation.

## 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.

## Building with nightly Swift toolchains on macOS

DevFeed: [Building with nightly Swift toolchains on macOS](<https://devfeed.tech/articles/building-with-nightly-swift-toolchains-on-macos-21725.md>)

Original publisher: [Read original article](<https://oleb.net/2024/swift-toolchains/>)

Author: Ole Begemann

Published: 2024-03-05T18:54:44Z

Content type: tutorial

Language: en

Sources: [Ole Begemann](<https://devfeed.tech/sources/ole-begemann.md>)

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>)

Tags: [command-line](<https://devfeed.tech/tags/command-line.md>), [macos](<https://devfeed.tech/tags/macos.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [toolchains](<https://devfeed.tech/tags/toolchains.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

A practical guide to installing and selecting nightly Swift compiler toolchains on macOS. It covers using custom toolchains in Xcode and from the command line, including the TOOLCHAINS environment variable and bundle IDs. The article also notes limitations such as unsupported playgrounds, built-in Swift Package Manager behavior, and App Store submission restrictions.

### Source excerpt

The Swift website provides nightly builds of the Swift compiler (called toolchains) for download. Building with a nightly compiler can be useful if you want to check if a bug has already been fixed on main, or if you want to experiment with upcoming language features such as Embedded Swift, as I've been doing lately. A toolchain is distributed as a .pkg installer that installs itself into /Library/Developer/Toolchains (or the equivalent path in your home directory). After installation, you have several options to select the toolchain you want to build with: In Xcode In Xcode, select the toolchain from the main menu (Xcode > Toolchains), then build and/or run your code normally. Not all Xcode features work with a custom toolchain. For example, playgrounds don't work, and Xcode will always use its built-in copy of the Swift Package Manager, so you won't be able to use unreleased SwiftPM features in this way. Also, Apple won't accept apps built with a non-standard toolchain for submission to the App Store. On the command line When building on the command line there are multiple options, depending on your preferences and what tool you want to use. The TOOLCHAINS environment variable All of the various Swift build tools respect the TOOLCHAINS environment variable. This should be set to the desired toolchain's bundle ID, which you can find in the Info.plist file in the toolchain's directory. Example (I'm using a nightly toolchain from 2024-03-03 here): # My normal Swift version is 5.10 $ swift --version swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) # Make sure xcode-select points to Xcode, not to /Library/Developer/CommandLineTools # The Command Line Tools will ignore the TOOLCHAINS variable. $ xcode-select --print-path /Applications/Xcode.app/Contents/Developer # The nightly toolchain is 6.0-dev $ export TOOLCHAINS=org.swift.59202403031a $ swift --version Apple Swift version 6.0-dev (LLVM 0c7823cab15dec9, Swift 0cc0590933

## How Apollo Manages Swift Packages in a Monorepo with Git Subtrees

DevFeed: [How Apollo Manages Swift Packages in a Monorepo with Git Subtrees](<https://devfeed.tech/articles/how-apollo-manages-swift-packages-in-a-monorepo-with-git-subtrees-23357.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/how-apollo-manages-swift-packages-in-a-monorepo-with-git-subtrees>)

Author: Zach FettersMoore

Published: 2024-01-30T07:45:00Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [monorepo](<https://devfeed.tech/topics/monorepo.md>), [swift-package](<https://devfeed.tech/topics/swift-package.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>), [Submodules](<https://devfeed.tech/topics/submodules.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [changes](<https://devfeed.tech/tags/changes.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [development](<https://devfeed.tech/tags/development.md>), [files](<https://devfeed.tech/tags/files.md>), [git](<https://devfeed.tech/tags/git.md>), [ios](<https://devfeed.tech/tags/ios.md>), [library](<https://devfeed.tech/tags/library.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [monorepo](<https://devfeed.tech/tags/monorepo.md>), [package](<https://devfeed.tech/tags/package.md>), [packages](<https://devfeed.tech/tags/packages.md>), [project](<https://devfeed.tech/tags/project.md>), [repo](<https://devfeed.tech/tags/repo.md>), [spm](<https://devfeed.tech/tags/spm.md>), [structure](<https://devfeed.tech/tags/structure.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [test](<https://devfeed.tech/tags/test.md>)

### AI overview

Apollo iOS's monorepo made SPM dependencies larger than necessary because users fetched development and test code, and all libraries shared one version number. The team aimed to split libraries into smaller, independently versioned package repositories while keeping cross-library development and testing workable. Git submodules could place those repositories in one development workspace and track their referenced commits, but required managing each submodule and its commit hash, adding overhead and opportunities for error. The excerpt ends before describing any further approach or outcome.

### Source excerpt

The monorepo is a common structure for many software projects, and Apollo iOS is no different. Our project was structured in a single repo containing many different Swift Package Manager (SPM) library targets, along with test code and code only used as part of development. This presents a few problems however, one being that when a user adds the SPM package as a dependency, it will pull down all of the code and files in the repo, even though most of them aren't needed.

## An Introduction to Swift Package Manager and how it works

DevFeed: [An Introduction to Swift Package Manager and how it works](<https://devfeed.tech/articles/an-introduction-to-swift-package-manager-and-how-it-works-24750.md>)

Original publisher: [Read original article](<https://medium.com/ymedialabs-innovation/an-introduction-to-swift-package-manager-and-how-it-works-cfe8e0d8cbd3?source=rss----8b5620c36355---4>)

Author: prateek arora

Published: 2023-04-11T05:00:35Z

Content type: tutorial

Language: en

Sources: [ymedialabs-innovation](<https://devfeed.tech/sources/ymedialabs-innovation-medium.md>)

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

Tags: [package-management](<https://devfeed.tech/tags/package-management.md>), [spm](<https://devfeed.tech/tags/spm.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [swiftpm](<https://devfeed.tech/tags/swiftpm.md>)

### AI overview

Swift Package Manager (SPM) is integrated with Swift's build system to download, compile, and link dependencies; the text says it is included with Swift 3.0 and later. It supports macOS, iOS, tvOS, and Linux, with Xcode 11 or later required on macOS; Linux users must install it manually or use swiftenv. The article presents built-in Xcode integration and automatic handling of transitive dependencies as advantages over third-party tools such as CocoaPods and Carthage. It also lists limitations: no support for build phases or build settings, no support for .xcodeproj files, and packages cannot be deployed directly to a device or simulator. For SwiftLint, it describes creating a parallel SPM project to build and run the executable. The setup walkthrough creates a Swift package in Xcode, pushes it to a remote repository, then adds that repository to an app through Xcode's Package Dependencies interface and links the package under Link Binary with Libraries.

### Source excerpt

What is a package Manager? A package manager or package-management system is a collection of software tools that automates the process of installing, upgrading, configuring, and removing computer programs for a computer in a consistent manner. or A package manager deals with packages, distributions of software and data in archive files. Packages contain metadata, such as the software's name, description of its purpose, version number, vendor, checksum (preferably a cryptographic hash function), and a list of dependencies necessary for the software to run properly. What is Swift Package Manager (SPM) As per official Apple Swift Documentation: "The Swift Package Manager is a tool for managing the distribution of Swift code. It's integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies." The Package Manager is included in Swift 3.0 and above. Why do we need Swift Package Manager? Though we have multiple other ways to manage the dependencies like cocoa pods, Carthage etc. then why is there a need to use SPM? The answer is both cocoa pods and Carthage are third-party package managers, which eventually leads to extra code and efforts one has to put in order to utilise these third-party package managers. For example: For cocoa pods, we need to have a pod framework to be installed, which then needs ruby, gem file or brew in order to install pods. But then SPM comes inbuilt with XCode, so there won't be extra effort and extra files that will be getting added once we use SPM. System Requirement SwiftPM is compatible with macOS, iOS, tvOS and Linux For macOS, you need XCode 11 and above. For Linux, you have to install it manually or use swiftenv. Advantages SwiftPM is open-source like Cocoapods. It may be challenging or fast to contribute but it is possible. Ease of managing dependency's dependencies. If a dependency relies on another dependency, the Swift Package manager will handle it for you. Ease of resetting, manag

## 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.

## Firebase SDK for Apple now fully supports Swift Package Manager

DevFeed: [Firebase SDK for Apple now fully supports Swift Package Manager](<https://devfeed.tech/articles/firebase-sdk-for-apple-now-fully-supports-swift-package-manager-16397.md>)

Original publisher: [Read original article](<https://firebase.blog/posts/2021/08/firebase-swift-package-manager>)

Author: Peter Friese; Paul Beusterien

Published: 2021-08-27T00:00:00Z

Content type: release

Language: en

Sources: [Firebase Blog](<https://devfeed.tech/sources/firebase-blog.md>)

Topics: [Firebase](<https://devfeed.tech/topics/firebase.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [ios](<https://devfeed.tech/tags/ios.md>), [news](<https://devfeed.tech/tags/news.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>), [updates](<https://devfeed.tech/tags/updates.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

Firebase 8.6.0 for iOS fully supports Swift Package Manager, allowing developers to add Firebase to iOS projects through Xcode. The article explains the setup process and describes the engineering work behind the integration.

### Source excerpt

News, tutorials, and updates from the Firebase team.

## Cross compiling for Apple Silicon with Swift Package Manager

DevFeed: [Cross compiling for Apple Silicon with Swift Package Manager](<https://devfeed.tech/articles/cross-compiling-for-apple-silicon-with-swift-package-manager-25400.md>)

Original publisher: [Read original article](<https://smileykeith.com/2020/12/24/swiftpm-cross-compile/>)

Author: Keith Smiley

Published: 2020-12-24T22:32:00Z

Content type: tutorial

Language: en

Sources: [Keith Smiley](<https://devfeed.tech/sources/keith-smiley.md>)

Topics: [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [Cross-Compilation](<https://devfeed.tech/topics/cross-compilation.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>), [Swift](<https://devfeed.tech/topics/swift.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [apple-silicon](<https://devfeed.tech/tags/apple-silicon.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [arm64](<https://devfeed.tech/tags/arm64.md>), [binaries](<https://devfeed.tech/tags/binaries.md>), [build](<https://devfeed.tech/tags/build.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [cross](<https://devfeed.tech/tags/cross.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [flag](<https://devfeed.tech/tags/flag.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [performance](<https://devfeed.tech/tags/performance.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>), [x86-64](<https://devfeed.tech/tags/x86-64.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

To distribute a Swift Package Manager command-line tool for both Intel Macs and Apple Silicon, build a universal binary containing `x86_64` and `arm64` slices. The excerpt describes two methods: pass the hidden `--arch` flag for both architectures, which uses Xcode's XCBuild and places the artifact under `.build/apple/Products/Release`; or build separately with each Apple macOS triple and combine the outputs with `lipo`. The `lipo` approach also works on Linux, unlike `--arch`. The excerpt shows `file` confirming both architectures in the resulting binary.

### Source excerpt

If you distribute binaries for command line tools built with Swift Package Manager, you might have previously built your distribution binary with: % swift build --configuration release If you inspect the binary, you can see it was built for the current machine's architecture by default: % file .build/release/package .build/release/package: Mach-O 64-bit executable x86_64 Previously, this was sufficient since macOS only supported one architecture. Now, in order to fully utilize the native performance of Apple Silicon chips, we need to produce a fat binary that contains a slice for both x86_64 and arm64. Swift Package Manager has a few different ways to achieve this. The easiest way, as far as I can tell, is to pass the hidden --arch flag once for each architecture: % swift build --configuration release --arch arm64 --arch x86_64 This goes through a different code path in Swift Package Manager, and utilizes Xcode's underlying XCBuild tool. This results in the built binary being in a different path than usual. Inspecting the new artifact, we can see we have a binary containing both requested architectures: % file .build/apple/Products/Release/package .build/apple/Products/Release/package: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64] .build/apple/Products/Release/package (for architecture x86_64): Mach-O 64-bit executable x86_64 .build/apple/Products/Release/package (for architecture arm64): Mach-O 64-bit executable arm64 Another option is to build once for each architecture, and then combine the binaries using lipo. Unlike the --arch option, this approach also works on Linux. Here's an example: % swift build --configuration release --triple arm64-apple-macosx % swift build --configuration release --triple x86_64-apple-macosx % lipo -create -output package .build/arm64-apple-macosx/release/package .build/x86_64-apple-macosx/release/package Inspecting our final binary we can see it correctly

## TIP: Use iOS CocoaPods Dependencies in Native Code

DevFeed: [TIP: Use iOS CocoaPods Dependencies in Native Code](<https://devfeed.tech/articles/tip-use-ios-cocoapods-dependencies-in-native-code-19606.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/tip-use-ios-cocoapods-dependencies-native-code/>)

Author: Shai Almog

Published: 2017-02-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [iOS](<https://devfeed.tech/topics/ios.md>), [Library](<https://devfeed.tech/topics/library.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>)

Tags: [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [ios](<https://devfeed.tech/tags/ios.md>), [library](<https://devfeed.tech/tags/library.md>), [native](<https://devfeed.tech/tags/native.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package](<https://devfeed.tech/tags/swift-package.md>), [swift-package-manager](<https://devfeed.tech/tags/swift-package-manager.md>)

### AI overview

A Codename One tutorial explains how to use iOS CocoaPods dependencies with native code. It covers adding native libraries, the iOS deployment-target caveat for Intercom, and the build hint needed to target iOS 8 or newer. An editor note says Swift Package Manager is also supported in the current setup.

### Source excerpt

Editor note: This post is still valid for CocoaPods, but current iOS dependency setup also supports Swift Package Manager (SPM). See the current "Working with iOS" section in the developer guide. Last week I talked about using gradle dependencies to build native code, this week I'll talk about the iOS equivalent: CocoaPods. We've discussed CocoaPods before but this bears repeating especially in the context of a specific cn1lib like intercom. CocoaPods allow us to add a native library dependency to iOS far more easily than Gradle. However, I did run into a caveat with target OS versioning. By default we target iOS 7.0 or newer which is supported by Intercom only for older versions of the library. Annoyingly CocoaPods seemed to work, to solve this we had to explicitly define the build hint ios.pods.platform=8.0 to force iOS 8 or newer.