Distribution

Downloads

Install SwiftPods with Homebrew on your Mac, or pin an exact release in CI. Each release supplies signed and notarized macOS 13+ builds for Apple Silicon and Intel, published as an immutable GitHub Release. The versions, checksums and commits in the examples below come from the latest release on GitHub.

Homebrew, from our tap

Homebrew SwiftPods tap

Install and update through the SwiftPods-maintained tap.

brew tap swiftpods-org/swiftpods https://github.com/swiftpods-org/swiftpods.git
brew install swiftpods-org/swiftpods/swiftpods

Add the tap once, then install the fully qualified formula. Homebrew selects the archive for your Mac.

Finding SwiftPods useful? Star on GitHub ↗ Help others discover it.

Update your installation

brew update
brew upgrade swiftpods-org/swiftpods/swiftpods

Pinned installer · CI/CD or local

For GitLab CI, Jenkins and other macOS runners, use the installer directly. It verifies the release manifest, archive, extracted payload and recorded Apple signing identity. It needs Python 3.9 or later, but neither Homebrew nor administrator access.

bash -o pipefail -c 'curl -fsSL https://swiftpods.org/install.sh | bash -s -- --version <version> --installer-sha256 <installer-sha256> --manifest-sha256 <manifest-sha256>'

Caches the release in .build/swiftpods/<version>-<manifest-prefix>, then creates a separate verified private runtime. Run the export PATH=… command printed by the bootstrap in your terminal or CI job. SWIFTPODS_INSTALL_PREFIX selects a different cache; do not put that mutable cache directly on PATH.

Version and SHA-256 verification

The bootstrap checks the release's install.py against the installer SHA-256 before running it, and passes the manifest SHA-256 of release.json on to it. Both come from GitHub's digests of the release assets; your command keeps them pinned.

Read the bootstrap script ↗.

Use it in a CI shell

Run this block as one Bash script. It creates a private runtime directory for the job, adds it to PATH and removes it on exit:

set -euo pipefail
runtime_parent="$(mktemp -d "${TMPDIR:-/tmp}/swiftpods-runtime.XXXXXX")"
trap 'rm -rf "$runtime_parent"' EXIT
chmod 700 "$runtime_parent"
export SWIFTPODS_RUNTIME_DIRECTORY="$runtime_parent/runtime"
mkdir -m 700 "$SWIFTPODS_RUNTIME_DIRECTORY"
bash -o pipefail -c 'curl -fsSL https://swiftpods.org/install.sh | bash -s -- --version <version> --installer-sha256 <installer-sha256> --manifest-sha256 <manifest-sha256>'
export PATH="$SWIFTPODS_RUNTIME_DIRECTORY:$PATH"
swiftpods version
swiftpods install --deployment

Deployment requires the committed locks; see locks and deployment.

GitHub Actions

The setup action wraps the same installer and adds SwiftPods to PATH. Use a macOS runner with Python 3.9 or later and your project's Xcode.

- uses: swiftpods-org/swiftpods@<commit>
  with:
    version: '<version>'
    manifest-sha256: '<manifest-sha256>'
- run: swiftpods install --deployment

Fastlane

Add the plugin to fastlane/Pluginfile, pinned to the release's tag. It needs Python 3.9 or later, downloads the matching SwiftPods release and verifies the cached copy again every time it runs.

gem 'fastlane-plugin-swiftpods',
    git: 'https://github.com/swiftpods-org/swiftpods.git',
    tag: 'fastlane-v<version>'

Run bundle install and commit Gemfile.lock to record the exact Git revision and available gem checksums. If your repository does not commit a Bundler lock, replace the tag: line with the commit of the release's Fastlane tag:

ref: '<plugin-commit>'

Then call it from a lane. It returns the declared package and binary names:

dependencies = swiftpods(podfile: 'src/MyApp/Podfile', resolve: true)
setup_ad_review if dependencies.include?('AppLovinSDK')

Options include deployment, resolve, adopt, offline, update_sources and allow_external_file_lists. An explicit executable: is a trusted override of the pinned CLI. See the Fastlane guide ↗ for runtime requirements and all options.

Release archives

Download the archive for your Mac and compare its SHA-256 with SHA256SUMS from the same release. Put the archive's bin/swiftpods on your PATH.

Releases on GitHub ↗

Browse releases ↗

Build from source

Source builds require a Swift 6 toolchain and macOS 13 or later.

git clone https://github.com/swiftpods-org/swiftpods.git
cd swiftpods
swift build -c release
export PATH="$PWD/.build/release:$PATH"
swiftpods --help

See the development guide ↗ for tests.