Since CocoaPods in going to be soon dismissed and will be read-only by the end of the year I tried to migrate some of my Compose Multiplatform projects to Swift Package Manager.

Here's "How I did it" 😜

https://xabaras.medium.com/how-i-switched-from-cocoapods-to-swift-package-manager-in-my-cmp-project-65f3c2a1816f?sk=d62121ccf9b521e9a18cb88bc61260a4

#ComposeMultiplatform #KotlinMultiplatform #SwiftPackageManager #iOSDev #AndroidDev #KMP

How I switched from CocoaPods to Swift Package Manager in my CMP project

Since CocoaPods is going to be soon dismissed and it’s becoming read only by the end of the year I tried to switch some of my Compose…

Medium
Since #cocoapods is shutting down for good by the end of the year, I'm trying to use #swiftpackagemanager in the project I'm migrating from Android to Compose Multiplatform. Let's see how painful it is 🤣

Working with open source at @snappmobile taught me what makes Swift packages truly good—beyond just working code.

Consolidated it into a 3-part checklist series: docs, dev workflow, community. All the stuff that's scattered across different resources.

Building in public, sharing the journey.

#Swift #SwiftLang #OpenSource #iOSDev #SwiftPackageManager #BuildingInPublic

XCFrameworkをSPM経由で導入する方法 - Qiita

はじめに 本記事は どすこい塾 Advent Calendar 2025 の10日目の記事です。 昨日は @dosukoi_android さんで サーバーサイドDartのフレームワークを作ってる でした。 XCFrameworkをSPM経由で導入する方法を紹介します。 ...

Qiita

Why didn't Swift have this sooner? 𝑆𝑤𝑖𝑓𝑡 𝐶𝑜𝑛𝑓𝑖𝑔𝑢𝑟𝑎𝑡𝑖𝑜𝑛 1.0 is here, bringing standardized runtime configuration to Swift projects built with SwiftPM.

🔗: https://www.swift.org/blog/swift-configuration-1.0-released/ by 𝗛𝗼𝗻𝘇𝗮 𝗗𝘃𝗼𝗿𝘀𝗸𝘆

#Swift #SwiftPackageManager #Configuration

Swift Configuration 1.0 released

Every application has configuration: in environment variables, configuration files, values from remote services, command-line flags, or repositories for stored secrets like API keys. But until now, Swift developers have had to wire up each source individually, with scattered parsing logic and application code that is tightly coupled to specific configuration providers.

Swift.org

While tuning my SDK, I added an example app as an executable target. If it uses APIs beyond what your SDK supports (.𝘱𝘭𝘢𝘵𝘧𝘰𝘳𝘮𝘴), the compiler fails. Expected.

But: any dependencies the example app uses get declared in the package config - they show up when users add your SDK. Users get frameworks they didn't ask for.

Example apps should only use the SDK they're made for. Keeps things clean.

#iOS #SDK #SwiftPackageManager #OpenSource

What if your Swift packages could adapt to different build configurations automatically?

SPM Traits act as powerful feature flags, enabling conditional compilation, optional dependencies, and advanced package configurations. Think of them as the missing piece for building truly flexible, modular Swift packages that adapt to your project's needs.

🔗: https://theswiftdev.com/2025/all-about-swift-package-manager-traits/ by @tiborbodecs

#SwiftPackageManager #Swift #SPM #Modular

All about Swift Package Manager Traits - The.Swift.Dev.

Discover how traits act as feature flags, enabling conditional compilation, optional dependencies, and advanced package configurations.

Do you treat compiler warnings as errors in your Swift Packages?

A practical tutorial on how to take control of compiler warnings in Swift Packages using Swift 6.2's new settings. A must-read for anyone who loves a clean build.

🔗: https://useyourloaf.com/blog/treating-warnings-as-errors-in-swift-packages/ by @kharrison

#Swift #SwiftPackageManager

Treating Warnings As Errors In Swift Packages

In Swift 6.2, Swift Packages give us control over which compiler warnings to treat as errors.

Use Your Loaf - iOS Development News & Tips
Want to turn your SwiftUI project into a reusable Swift package?
In this Sunday's video, I walk you through creating, structuring, and publishing an SF Symbol Picker package to GitHub.
https://youtu.be/_KYc2wJVIDE
#SwiftUI #SwiftPackageManager #iOSDev