# swift-package-manager

A tool for managing Swift source-code distribution, dependencies, versioning, compilation, and linking.

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

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

## Module Tracking in Swift Debug Info

DevFeed: [Module Tracking in Swift Debug Info](<https://devfeed.tech/articles/module-tracking-in-swift-debug-info-91313.md>)

Original publisher: [Read original article](<https://www.swift.org/blog/module-tracking-in-debug-info/>)

Author: Adrian Prantl

Published: 2026-09-11T15:30:00Z

Content type: article

Language: en

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

Topics: [modules](<https://devfeed.tech/topics/modules.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [import](<https://devfeed.tech/topics/import.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [bazel](<https://devfeed.tech/topics/bazel.md>), [CMake](<https://devfeed.tech/topics/cmake.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [bazel](<https://devfeed.tech/tags/bazel.md>), [breakpoint](<https://devfeed.tech/tags/breakpoint.md>), [build](<https://devfeed.tech/tags/build.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [clang](<https://devfeed.tech/tags/clang.md>), [cmake](<https://devfeed.tech/tags/cmake.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [compilers](<https://devfeed.tech/tags/compilers.md>), [data-types](<https://devfeed.tech/tags/data-types.md>), [debug](<https://devfeed.tech/tags/debug.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [expression](<https://devfeed.tech/tags/expression.md>), [functions](<https://devfeed.tech/tags/functions.md>), [import](<https://devfeed.tech/tags/import.md>), [info](<https://devfeed.tech/tags/info.md>), [module](<https://devfeed.tech/tags/module.md>), [swift](<https://devfeed.tech/tags/swift.md>), [tracking](<https://devfeed.tech/tags/tracking.md>)

### AI overview

Swift 6.3's explicit module tracking lets LLDB locate the exact Swift module for code at a breakpoint and follow its explicit Swift dependencies, avoiding ambiguous name-based lookup and slow implicit recompilation. SwiftPM and Xcode users get this through the Swift driver; custom build systems that invoke the frontend directly need to pass `-debug-module-path`. Starting with Swift 6.4, those systems can remove Linux and Windows `-modulewrap` steps and Darwin `-add_ast_path` linker options. Binary Swift modules will no longer be stored in dSYM bundles, making debug products smaller. LLDB can still inspect variables and print object descriptions using reflection metadata; complex expression evaluation requires modules to remain available at their original or remapped locations. Swift 6.4 also adds use of precompiled bridging headers for faster, more reliable debugging in explicitly built projects.

### Source excerpt

When your Swift program hits a breakpoint and stops so you can inspect it, the debugger's expression evaluator has to find the exact Swift module your code was built from. Until now, that lookup wasn't always precise. The upcoming Swift 6.4 release will include changes, begun in Swift 6.3, that address this by updating how the Swift compiler references explicitly-built Swift modules in debug info. The majority of developers will automatically benefit from faster, more reliable debugging and smaller build products, without any modifications to their SwiftPM or Xcode projects. For developers who maintain their own build systems using, for example, Bazel, Buck, or CMake, some adjustments may be necessary to take advantage of these changes. This article explains how the debugger uses Swift modules. Next, it describes how Swift 6.3 changes the way modules are tracked in debug info to solve several problems with the previous representation. Finally, it shows how to adjust build systems to take advantage of the new representation and eliminate some build steps that are no longer necessary. Swift modules and expression evaluation LLDB's standout feature is its powerful expression evaluator. Because LLDB embeds the Clang and Swift compilers, it can JIT-compile any valid source code and run it in the context of your application while stopped at a breakpoint. This includes not just calling code in your application, but also defining new data types, functions, and closures. Debugging features that are usually reserved for interpreted or JIT-compiled languages like JavaScript become available to ahead-of-time-compiled languages like C++ and, of course, Swift! In order to JIT-compile user expressions that make use of data types defined in the debugged program, LLDB's embedded Swift compiler needs to import the Swift modules defining those types. In a world before explicitly-built modules, LLDB would find the base name of the main module at the current breakpoint in the debug info

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

## Swift Package Index Update

DevFeed: [Swift Package Index Update](<https://devfeed.tech/articles/swift-package-index-update-91316.md>)

Original publisher: [Read original article](<https://www.swift.org/blog/swift-package-index-update/>)

Author: Dave Lester

Published: 2026-06-23T14:00:00Z

Content type: news

Language: en

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

Topics: [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [apple](<https://devfeed.tech/tags/apple.md>), [community](<https://devfeed.tech/tags/community.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [linux](<https://devfeed.tech/tags/linux.md>), [packages](<https://devfeed.tech/tags/packages.md>), [platform](<https://devfeed.tech/tags/platform.md>), [quality](<https://devfeed.tech/tags/quality.md>), [registry](<https://devfeed.tech/tags/registry.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-package-index](<https://devfeed.tech/tags/swift-package-index.md>), [testing](<https://devfeed.tech/tags/testing.md>), [update](<https://devfeed.tech/tags/update.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

### AI overview

Swift Package Index announced that it has joined Apple and will continue working toward a comprehensive package registry for the Swift community. The project indexes thousands of packages, provides package documentation, and helps developers assess compatibility; its compatibility testing has expanded to Linux, Android, and WebAssembly. The supplied text does not give further details about the announcement.

### Source excerpt

Since its launch, Swift Package Index has become an essential part of the Swift ecosystem, helping developers discover quality packages, evaluate compatibility, and make informed decisions about dependencies. Started by Dave Verwer and Sven A. Schmidt, the project currently indexes thousands of packages and serves as a central hub for package documentation. Recently, Swift Package Index has grown alongside the Swift project's multi-platform expansion, extending its compatibility testing to encompass Linux, Android, and WebAssembly. Today, Swift Package Index announced that it has joined Apple and continues its mission: Together, we're building a comprehensive package registry to serve the Swift community's evolving needs. Learn more by reading the Swift Package Index announcement.

## Swift Package Index Update

DevFeed: [Swift Package Index Update](<https://devfeed.tech/articles/swift-package-index-update-2935.md>)

Original publisher: [Read original article](<https://swift.org/blog/swift-package-index-update/>)

Author: Dave Lester

Published: 2026-06-23T14:00:00Z

Content type: release

Language: en

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

Topics: [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [apple](<https://devfeed.tech/tags/apple.md>), [community](<https://devfeed.tech/tags/community.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [hub](<https://devfeed.tech/tags/hub.md>), [index](<https://devfeed.tech/tags/index.md>), [indexes](<https://devfeed.tech/tags/indexes.md>), [launch](<https://devfeed.tech/tags/launch.md>), [linux](<https://devfeed.tech/tags/linux.md>), [make](<https://devfeed.tech/tags/make.md>), [mission](<https://devfeed.tech/tags/mission.md>), [package](<https://devfeed.tech/tags/package.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>), [update](<https://devfeed.tech/tags/update.md>)

### AI overview

Swift Package Index helps developers discover Swift packages, review compatibility, and find documentation; it indexes thousands of packages and tests compatibility across Linux, Android, and WebAssembly. The project announced that it has joined Apple and will continue its mission of building a comprehensive package registry for the Swift community.

### Source excerpt

Since its launch, Swift Package Index has become an essential part of the Swift ecosystem, helping developers discover quality packages, evaluate compatibility, and make informed decisions about dependencies. Started by Dave Verwer and Sven A. Schmidt, the project currently indexes thousands of packages and serves as a central hub for package documentation. Recently, Swift Package Index has grown alongside the Swift project's multi-platform expansion, extending its compatibility testing to encompass Linux, Android, and WebAssembly. Today, Swift Package Index announced that it has joined Apple and continues its mission: Together, we're building a comprehensive package registry to serve the Swift community's evolving needs. Learn more by reading the Swift Package Index announcement.

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

## Automatically Packaging a Haskell Library as a Swift Binary XCFramework

DevFeed: [Automatically Packaging a Haskell Library as a Swift Binary XCFramework](<https://devfeed.tech/articles/automatically-packaging-a-haskell-library-as-a-swift-binary-xcframework-27918.md>)

Original publisher: [Read original article](<http://alt-romes.github.io/posts/2025-07-05-packaging-a-haskell-library-as-a-swift-binary-xcframework.html>)

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

Content type: tutorial

Language: en

Sources: [Romes' Musings](<https://devfeed.tech/sources/romes-musings.md>)

Topics: [swift-package](<https://devfeed.tech/topics/swift-package.md>), [Haskell](<https://devfeed.tech/topics/haskell.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [Library](<https://devfeed.tech/topics/library.md>), [SwiftUI](<https://devfeed.tech/topics/swiftui.md>)

Tags: [announce](<https://devfeed.tech/tags/announce.md>), [app](<https://devfeed.tech/tags/app.md>), [apple](<https://devfeed.tech/tags/apple.md>), [application](<https://devfeed.tech/tags/application.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [automation](<https://devfeed.tech/tags/automation.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [call](<https://devfeed.tech/tags/call.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [framework](<https://devfeed.tech/tags/framework.md>), [function](<https://devfeed.tech/tags/function.md>), [functions](<https://devfeed.tech/tags/functions.md>), [haskell](<https://devfeed.tech/tags/haskell.md>), [headers](<https://devfeed.tech/tags/headers.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [ide](<https://devfeed.tech/tags/ide.md>), [library](<https://devfeed.tech/tags/library.md>), [packaging](<https://devfeed.tech/tags/packaging.md>), [swift](<https://devfeed.tech/tags/swift.md>)

### AI overview

The Haskell package `xcframework` automates bundling a Cabal foreign library as an Apple XCFramework, enabling Swift projects to use Haskell exports without custom Xcode build scripts. Set the Cabal package to `build-type: Hooks`, add `xcframework` as a setup dependency, and configure `SetupHooks.hs` with the output path; `cabal build` then creates the bundle. Add it to Xcode or declare it as a binary target in a Swift package. Swift code imports the fixed `Haskell.Foreign.Exports` module, and the app must initialize the Haskell RTS with `hs_init` and shut it down with `hs_exit`. The author says the exported functions must come from a Cabal `foreign-library` stanza; linking from a normal `library` component is not resolved. Higher-level datatype marshalling remains challenging.

### Source excerpt

Contents 1 Announcing: xcframework 1.1 XCFrameworks 1.2 How to install xcframework 1.3 How to use the XCFramework in XCode 1.4 Building simple Swift package 1.5 Must use Cabal Foreign Library stanza 1.6 Conclusion I've written about Haskell x Swift interoperability before. Calling Haskell from Swift is about marshalling and the foreign function interface. But Creating a macOS app with Haskell and Swift tells the much messier tale of hijacking XCode to vodoo together the Haskell library, its headers, and two handfuls of other magic ingredients into one buildable SwiftUI application. Stop! Don't click on the last link. No, it turns out that my XCode sallies strayed very far from the yellow brick road. The IDE is confused. Recompilation bugs abound. Complexity is through the roof juggling .modulemaps, .xcconfig dynamic settings, and sketchy .sh scripts. Let's walk the happy path. 1 Announcing: xcframework Perhaps obvious in retrospect, the demon-less way to add a Haskell library to the dependencies of a Swift application is to build an independent Swift Package wrapping the Haskell library - something that can be done without XCode in sight. Easy peasy: Build the Haskell library using Cabal Create a Swift package from the Haskell artifacts Add the Swift package as a dependency to the project And it turns out that (1) and (2) can be merged together using Cabal SetupHooks! Moreover, I'm happy to announce I've neatly packaged and released that build process automation as a Haskell library called xcframework on Hackage. Onwards! - for what it does and how to use it. 1.1 XCFrameworks Apple introduced XCFramework bundles back in a WWDC19 session. An XCFramework is a multiplatform binary framework bundle. For our purposes, that means we can create a Swift Package just from a binary linkable artifact and a couple of header files. Then, any Swift project can depend on this binary Swift package and call the functions exposed to the headers and make sure the bundled library will

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

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

## KMMBridge 1.0 Release - Kevin Galligan

DevFeed: [KMMBridge 1.0 Release - Kevin Galligan](<https://devfeed.tech/articles/kmmbridge-1-0-release-kevin-galligan-38245.md>)

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

Published: 2024-08-28T00:00:00Z

Content type: release

Language: en

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

Topics: [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Framework](<https://devfeed.tech/topics/framework.md>)

Tags: [binaries](<https://devfeed.tech/tags/binaries.md>), [cocoapods](<https://devfeed.tech/tags/cocoapods.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [dependencies](<https://devfeed.tech/tags/dependencies.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>), [release](<https://devfeed.tech/tags/release.md>), [spm](<https://devfeed.tech/tags/spm.md>), [swift](<https://devfeed.tech/tags/swift.md>), [tool](<https://devfeed.tech/tags/tool.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

KMMBridge 1.0.0 simplifies publishing Kotlin Multiplatform XCFramework binaries for iOS, with a primary focus on Swift Package Manager. CocoaPods remains supported, while the templates and tutorials are SPM-only.

### Source excerpt

KMMBridge is a tool that helps you publish iOS XCFramework binaries from Kotlin Mutliplatform. The tool has seen multiple iterations over the past few years. This version simplifies the configuration and usage of KMMBridge, with a primary focus on Swift Package Manager (SPM).

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

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

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

## Editing rpaths for \_InternalSwiftSyntaxParser

DevFeed: [Editing rpaths for \_InternalSwiftSyntaxParser](<https://devfeed.tech/articles/editing-rpaths-for-internalswiftsyntaxparser-25401.md>)

Original publisher: [Read original article](<https://smileykeith.com/2021/03/03/editing-rpaths/>)

Author: Keith Smiley

Published: 2021-03-04T03:48:00Z

Content type: tutorial

Language: en

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

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [Library](<https://devfeed.tech/topics/library.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>)

Tags: [archive](<https://devfeed.tech/tags/archive.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [crashes](<https://devfeed.tech/tags/crashes.md>), [directories](<https://devfeed.tech/tags/directories.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [fallback](<https://devfeed.tech/tags/fallback.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [library](<https://devfeed.tech/tags/library.md>), [loading](<https://devfeed.tech/tags/loading.md>), [swift](<https://devfeed.tech/tags/swift.md>), [toolchain](<https://devfeed.tech/tags/toolchain.md>), [workaround](<https://devfeed.tech/tags/workaround.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

SwiftSyntax command-line tools can fail when the installed Xcode's `_InternalSwiftSyntaxParser` is incompatible with the tool's build toolchain. The workaround copies that dynamic library from Xcode into the distribution, then uses `install_name_tool` to remove unsuitable rpaths and add `@executable_path/../lib`. This lets `dyld` find the bundled library without launch-time environment variables, at the cost of a larger archive and a Swift Package Manager post-processing script. As alternatives, `DYLD_LIBRARY_PATH` or `DYLD_FALLBACK_LIBRARY_PATH` can point to the library; the latter defaults to `/usr/local/lib:/usr/lib`, which may cause an unrelated installed copy to be loaded. Static linking is described as a preferable future solution, not one provided here.

### Source excerpt

One of the issues with shipping a tool that depends on SwiftSyntax is that it depends on a dynamic library that is provided with Xcode called _InternalSwiftSyntaxParser. This library provides some of Swift's logic for how to parse Swift code. When you run a command line tool that was built with a different version of Xcode than what you have installed locally, you hit this issue: <unknown>:0:0: error: The loaded '_InternalSwiftSyntaxParser' library is from a toolchain that is not compatible with this version of SwiftSyntax Ideally, this library would be statically linked to your executable (and I'm hoping we can find a solution to this) so you would no longer have to worry about this. In the meantime, we can work around this issue by shipping the version of the library from Xcode alongside your executable, and loading that instead. This will increase your distribution archive's size, but make it easier to support multiple versions of Xcode at once. The key to this workaround relies on how dyld works. dyld is responsible for loading the dynamic libraries your binary depends on. First, it's useful for you to see what libraries you depend on with otool. For example: % otool -L ./.build/debug/drstring-cli ./.build/debug/drstring-cli: ... /usr/lib/swift/libswiftObjectiveC.dylib (compatibility version 1.0.0, current version 1.0.0, weak) /usr/lib/swift/libswiftXPC.dylib (compatibility version 1.0.0, current version 1.1.0, weak) @rpath/lib_InternalSwiftSyntaxParser.dylib (compatibility version 1.0.0, current version 17013.0.0) Here you can see many libraries are directly referenced with their absolute paths while lib_InternalSwiftSyntaxParser.dylib, the library we're specifically interested in, is referenced via a rpath. You can run this command to see your binary's rpaths (yours may differ depending on your absolute path to Xcode): % otool -l ./.build/debug/drstring-cli \ | grep -A2 LC_RPATH \ | grep "^\s*path" | cut -d " " -f 11 @loader_path /Applications/Xcode-12.4.0.app

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

## GitHub Package Registry will support Swift packages

DevFeed: [GitHub Package Registry will support Swift packages](<https://devfeed.tech/articles/github-package-registry-will-support-swift-packages-69046.md>)

Original publisher: [Read original article](<https://github.blog/news-insights/product-news/github-package-registry-will-support-swift-packages/>)

Author: Simina Pasat

Published: 2019-06-03T22:44:16Z

Content type: news

Language: en

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

Topics: [GitHub Container Registry](<https://devfeed.tech/topics/github-container-registry.md>), [swift-package](<https://devfeed.tech/topics/swift-package.md>), [swift-package-manager](<https://devfeed.tech/topics/swift-package-manager.md>)

Tags: [github-packages](<https://devfeed.tech/tags/github-packages.md>), [news-insights](<https://devfeed.tech/tags/news-insights.md>), [package-management](<https://devfeed.tech/tags/package-management.md>), [product](<https://devfeed.tech/tags/product.md>), [registry](<https://devfeed.tech/tags/registry.md>), [swift](<https://devfeed.tech/tags/swift.md>), [updates](<https://devfeed.tech/tags/updates.md>)

### AI overview

GitHub announced that GitHub Package Registry will add support for Swift packages, allowing Swift developers to publish and manage packages alongside their source code. Swift Package Manager supports building, running, testing, and packaging Swift code.

### Source excerpt

Today we're excited to announce that we'll be adding support for Swift packages to GitHub Package Registry. Swift packages make it easy to share your libraries and source code across your projects and with the Swift community.