Swift Package Manager

Creation and usage of a simple Swift package

To create a Swift Package, open a Terminal then create an empty folder: mkdir AwesomeProject cd AwesomeProject

And init a Git repository:

git init

Then create the package itself. One could create the package structure manually but there’s a simple way using the CLI command.

If you want to make an executable:

swift package init — type executable

--

--

iOS Developer, Triple graduated, Passionate, Love workout, blogger

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mr.Javed Multani

iOS Developer, Triple graduated, Passionate, Love workout, blogger