Advanced Carthage Integration
ℹ️ Note: Using Carthage may result in errors saying “Incompatible Swift version - framework was built ...” when using a different Xcode version than the version we used to build PSPDFKit. If you see this error, you can work around this harmless warning by using the same version of Xcode we used for the release or by switching to Swift Package Manager or manual integration instead.
This guide assumes you have read the Getting Started guide for the Carthage integration.
Using the above will download the latest PSPDFKit version.
binary "https://customers.pspdfkit.com/pspdfkit-ios.json" ~> 10.0
Using the above will download a PSPDFKit version compatible with 10.0. Compatibility is determined according to semantic versioning. This means any version greater than or equal to 10.0, but less than 11.0, will be considered compatible with 10.2.1.
binary "https://customers.pspdfkit.com/pspdfkit-ios.json" == 10.2.1
Using the above will download PSPDFKit version 10.2.1.