Integrating PSPDFKit Using Swift Package Manager
PSPDFKit is available as a Swift package. We provide a URL to the public package repository that you can add in Xcode:
https://github.com/PSPDFKit/PSPDFKit-SP
Quick Start
-
Select your project’s Swift Packages tab:
-
Add the PSPDFKit Swift package repository URL:
-
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:
-
Log in to your customer portal at customers.pspdfkit.com and download the latest version of PSPDFKit, and then use the manual integration.
-
Integrate PSPDFKit using CocoaPods.