Upgrading


CocoaPods

If you set up your podfile to use the latest release URL, then all you need to do is issue pod update. If you instead used a pinned version URL, first update the URL to the desired version then run pod update.

Dynamic framework

In most cases, all you need to do to upgrade a manual PSPDFKit integration is to replace the PSPDFKit.framework file your projects references. Simply copy the new PSPDFKit.framework to the on disk location of your existing PSPDFKit.framework and replace the file when prompted.

API changes

After an upgrade you might see new warnings or build errors due to PSPDFKit API changes. Changed commonly used API is normally first deprecated, in which case you will get a deprecation warning with upgrade instructions. We recommend that you upgrade deprecated API as soon as possible. Less commonly used API and subclassing hooks can change without prior notice. This might lead to a build failure on your side. If that happens, please consult the changelog for details on how to resolve the issue.

Was this page helpful? We're happy to answer any questions.