Integrating PSPDFKit Using Swift Package Manager

🚨 Crash when running on a real iOS Device: This is a known issue in Xcode 12. Follow the instructions in this guide for the workaround.

PSPDFKit is available as a Swift package. We provide a URL to the public package repository that you can add in Xcode:


Quick Start

  1. Select your project’s Swift Packages tab:
  2. Add the PSPDFKit Swift package repository URL:
  3. Choose the package options version rule (outlined below).

Always Use the Latest Release:

💡 Tip: You can point to the master branch to always use the latest version.

Pinning to a Specific Version (e.g. 10.0.0):

Nightly Builds

Nightly builds are not supported via Swift Package Manager. If you wish to use our nightlies, you can:

  1. Log in to your customer portal at and download the latest version of PSPDFKit, and then use the manual integration.
  2. Integrate PSPDFKit using CocoaPods.