Set Up a Local Swift Repository

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide

Local repositories enable you to deploy Swift (.swift) packages. Artifactory calculates the metadata for all packages and indexes them to allow users to download these packages through the Swift client.

Artifactory allows you to define any layout for your Swift registries. In order to upload packages according to your custom layout, you need to package your Swift files using the Swift source archive. This creates the .zip file for your package which you can then upload to any path within your local Swift repository.

To create a Swift local repository:

  1. Navigate to the Administration module, and go to Repositories | Repositories | Local | New Local Repository.

  2. Select Swift as the Package Type.

    swift_repositories in Package types.png