home.social

#swiftpackagemanager — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #swiftpackagemanager, aggregated by home.social.

  1. 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 🤣

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

    🔗: theswiftdev.com/2025/all-about by @tiborbodecs

    #SwiftPackageManager #Swift #SPM #Modular

  3. I'm thinking about moving some models to a Swift Package.

    I wanted to do that some time ago but couldn't find a way to exclude development assets from a package when building in Release (Archive). I currently have files in my "Preview Content" folder that are used for Previews with Core Data.

    Is that still the same?

    #SwiftPackageManager #Swift #SwiftPM #Xcode