How to create Cocoa GUI application with SwiftPM

Viewed 2998

I want to split my codebase into a library which I want to upload to github and an GUI application. I hope that using recently introduced SwiftPM is a good idea.

But all examples I've been able to find show creating a console application with swift package init --type executable.

I want to know how to create a skeleton for macOS Cocoa Application with all the pregenerated stuff like assets, storyboard and so on?

It would be great to have access to such useful thing as:

swift package build
swift package test
swift package update
...

Any ideas?

Thank you!

1 Answers
Related