Extract Swift Package on-the-fly?

Hey there,

is there any kind of 'Extract Group / Folder as Swift Package' - function in Xcode or better in Swift Package Manager directly?

Thx

No but you can get something pretty close by running:

swift package init

and then copying or moving the contents of your folder into the newly generated directory hierarchy.

2 Likes