SPM Package Scaffold
Create a Swift Package with shared modules and tests.
When to Use
- When extracting shared code across Apple platforms.
Inputs
- Package name
- Target names and platforms
Instructions
- Create
Package.swift with platform targets.
- Add
Sources/ and Tests/ structure.
- Provide guidance for Xcode integration.
Output
- Swift Package layout and integration steps.