Skip to content

SwiftPM

6 post(s)

Blog

  • Preparing My App for Swift 6

    Preparing My App for Swift 6

    How to enable Swift 6 mode for your Xcode projects and for your SwiftPM modules today. And what the migration experience is like.

  • 2,000 Imports: Organizing my Apps' SwiftPM modules

    2,000 Imports: Organizing my Apps' SwiftPM modules

    How to organize your apps Swift modules for clarity & convenience using a hidden (unofficial) Swift feature. A practical solution for small to medium-sized apps.

  • SwiftPM + CoreData: Failing SwiftUI Previews? Here Are 5 Tips to Fix

    SwiftPM + CoreData: Failing SwiftUI Previews? Here Are 5 Tips to Fix

    Fixing Xcode bugs that make SwiftUI previews fail in apps modularized with SwiftPM and that are using CoreData.

  • Hiding Secrets From Git in SwiftPM

    Hiding Secrets From Git in SwiftPM

    A step-by-step guide on how to prevent your 3rd party service secrets from committing to Git when using apps modularized with SwiftPM.

Snippets

  • EditorConfig for Every SwiftPM Package

    Why every Swift package should include an .editorconfig file to enforce consistent indentation across all contributors.

  • Combine Swift Imports with a Wrapper Module

    Create a single import that re-exports all your commonly used frameworks using @_exported import.