Thinking Outside the Box with Swift Package Manager
summary
Shows how to use Swift Package Manager executables as build-time tools to do concrete work: replace environment.plist at build time using a small SPM app that calls PListBuddy, hide real keys in a local Secrets folder or inject them from CI, and use CI secret envs so builds on the server get real values. Demonstrates a reusable Swift library approach with PLister + Files library, plus generating enums from asset catalogs and localized keys to eliminate fragile stringly-typed code. Tests run inside SPM to validate generated code.
AI-written summary · about
chapters (5)
- 0:00Intro
- 0:55History of Package Managers
- 10:19Practical Application
- 14:28Tips Tricks
- 18:29Localized Strings
related talks
25mBuilding with SwiftPM
01h 00mHow to Build Modularity with SPM and a Monorepo Without Going Gray
44mSwift Packages - Dependency Management of the Future
37mCut costs, not corners: Master modularization with SPM
30mFrom CocoaPods to Swift Package Manager
26mKeeping Things Modular With Swift Package Manager
46mGenerating Code and Other Mischief with Swift Package Manager Plugins
48mSwiftPM — Frameworks Instead of Coffee
