Create and Import a Swift Package locally

At some point in time during your swift journey you might you would want to create your own Swift Package. If you are like me and prefer to have things working on a local repo before pushing it to a remote repository this is a guide for you.

I’m using Xcode 12.4 but the concept should work for you if you are using 11 and later.

The Recipe

  1. Create a Swift Package
  2. ‘Git’ up the package
  3. Import your package and build!

1. Create a Swift Package

To create a swift package, launch Xcode. …

Johann Fong

Documenting my Development in Software Development

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