Swift Package Manager

Mr.Javed Multani
1 min readOct 2, 2020

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

--

--

Mr.Javed Multani

Software Engineer | Certified ScrumMaster® (CSM) | UX Researcher | Youtuber | Tech Writer