Swift Registry

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

From JFrog Artifactory version 7.41.4, Artifactory provides full support for managing Swift packages. Aggregating multiple Swift registries under a virtual repository Artifactory provides access to all your Swift packages through a single URL for both upload and download.

Swift Version Support

Artifactory supports Swift version 5.7 and above.

Did you know?

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.

The Swift Package Manager: A tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

Swift repository (Catalog): https://swiftpackageregistry.com/ is a catalog of Git repositories, each containing a Swift package. The Swift package manager is an open-source project for managing the distribution of source code, aimed at making it easy to share code and reuse others’ code. The tool compiles and links Swift packages, managing dependencies, versioning, and supporting flexible distribution and collaboration models. For more information, see Swift Package Manager.

As a fully-fledged Swift registry on top of its capabilities for advanced artifact management, Artifactory's support for Swift provides:

  • Calculation of Metadata for Swift packages hosted in Artifactory's local repositories.

  • Access to remote registries through Remote Repositories which provide the usual proxy and caching functionality.

  • The ability to access multiple Swift registries from a single URL by aggregating them under a Virtual Repository. This overcomes the limitation of the Swift client which can only access a single registry at a time.

  • Compatibility with the Swift command line tool to deploy and remove packages and more.

  • Support for validating remote Swift repository metadata.