Skip to main content

Installation

This guide covers installing the Privacy Boost iOS SDK in your project.

Requirements

  • iOS 16.0+ or macOS 13.0+
  • Xcode 14+
  • Swift 5.7+

Swift Package Manager

Using Xcode

  1. Open your project in Xcode
  2. Go to File > Add Package Dependencies…
  3. Enter the repository URL:
  4. Select version requirements: “Up to Next Major Version” from the version in the repository’s Swift Package Manager instructions
  5. Click Add Package
  6. Select your target and click Add Package
Swift Package Manager resolves the iOS releases after 1.3.0. Until the first of them ships, and for 1.3.0 and earlier, download PrivacyBoost-iOS.zip from the releases.

Using Package.swift

Add the dependency to your Package.swift:

Verifying Installation

After installation, verify the SDK is working:

Next Steps