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.swiftwith platform targets. - •Add
Sources/andTests/structure. - •Provide guidance for Xcode integration.
Output
- •Swift Package layout and integration steps.