SSwift Registry.
Get started

Using the registry in Xcode

Configure an Xcode workspace or project to resolve packages from the registry.

  1. Configure the project

    Run the setup command in your project directory with your registry URL. It detects the .xcworkspace or .xcodeproj and writes the registry configuration. Add --dry-run to preview the changes first.

    bash
    swiftregistry setup xcode --url https://registry.swiftregistry.io
  2. Reference packages by identifier

    With the registry configured, Xcode resolves dependencies referenced by their scope.name identifier from the registry — immutable, checksum-verified artifacts instead of Git clones.

    text
    acme.networkkit

For a directory that contains both Package.swift and an Xcode project, run setup xcode explicitly — swiftregistry setup (no subcommand) configures the SwiftPM package first.