Getting Started

With PSPDFKit Instant, it’s easier than ever to add real-time collaboration features to your PSPDFKit-powered app, allowing your users to seamlessly share, edit, and annotate PDF documents across Android, iOS, and Web apps. This article will guide you through integrating Instant into your own apps.


  • PSPDFKit for iOS with Instant

PSPDFKit and Instant are two separate dynamic frameworks available in the same download. Download the latest release from, or for evaluation purposes, fill out the trial form and download the latest release, or use Swift Package Manager (see the integration section below).

  • A PSPDFKit Server instance

    See the Example Projects guide to get an instance up and running.

  • The latest stable Xcode

    PSPDFKit and Instant usually require the latest stable version of Xcode available at the time the release was made.

Quick Start with the Example Project

Instant comes with an open source iOS example project, which connects to either one of our example server apps.

  1. Run PSPDFKit Server locally using one of our example projects.

  2. In a web browser, log in to the example app with the same user ID the iOS app uses in AppDelegate.swift, which by default is test.

  3. Add a document to the server using the Upload PDF button.

  4. Select the document to view it with PSPDFKit for Web.

  5. Open Instant-iOS-Example.xcodeproj in Xcode.

  6. Build and run the Instant-iOS-Example scheme on iOS Simulator. After launching, the app should load the document list from the server.

  7. Tap the document in the app to download it and show it in a PSPDFInstantViewController.

  8. Add annotations in the iOS app or in the browser to see annotation syncing.


If Instant-iOS-Example doesn’t build, make sure you’re using the latest stable version of Xcode; expand the Frameworks group in the Project Navigator; and check that the PSPDFKit.xcframework, PSPDFKitUI.xcframework, and Instant.xcframework frameworks aren’t missing. If the app runs but no documents appear, make sure the serverURL and user ID in AppDelegate.swift and the server are running and the server is reachable from the device.

To run on an iOS device rather than the Simulator, set the serverURL in AppDelegate.swift to an absolute URL that the server can be reached at. This is your Mac’s local IP address, which you can see by option-clicking the Wi-Fi icon in the macOS menu bar.

Integrating the Instant Framework

Swift Package Manager

If you’re already using Swift Package Manager, you can add Instant to your project like so:

  1. Integrate the PSPDFKit Swift package.

  2. Integrate the Instant Swift package using the public repository URL.



If you’re already using CocoaPods, you can add PSPDFKit and Instant to your project by adding the following to your Podfile:


target :YourTargetName do
  pod 'PSPDFKit',
      podspec: ''
  pod 'Instant',
      podspec: ''

Then run pod install.

Manual Integration

To integrate manually:

  1. Integrate PSPDFKit.

  2. Drag Instant.xcframework into the Frameworks, Libraries, and Embedded Content section of your target.


If you’re already using Carthage, you can add PSPDFKit and Instant to your project by adding the following to your Cartfile:

binary ""
binary ""

Then run carthage update.