How Do I Migrate from Carthage to Swift Package Manager?

You can migrate your PSPDFKit integration from Carthage to Swift Package Manager by following the steps outlined below.

First, remove the PSPDFKit URL from your Cartfile:

- binary "https://my.pspdfkit.com/pspdfkit-ios.json"

# Other dependencies.

Then, delete your Carthage directory and run carthage update to remove PSPDFKit and reinstall your other dependencies.

And finally, integrate PSPDFKit using Swift Package Manager.