How do I Migrate from Carthage to Swift Package Manager?
Q: How do I Migrate from Carthage to Swift Package Manager?
A: You can migrate your PSPDFKit integration from Carthage to Swift Swift Package Manager by following the steps below:
1. Remove PSPDFKit from your Carthage Integration
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 to re-install your other dependencies.
2. Integrate PSPDFKit via Swift Package Manager
And finally, integrate PSPDFKit using Swift Package Manager.