For PSPDFKit for iOS, we generally support n-1 versions of Apple’s iOS operating system. iOS is a fast-moving target, and Apple is rather aggressive in moving to newer versions. There’s also an important difference in behavior depending upon which SDK version the application is linked to:
- PSPDFKit 8 for iOS — made for Xcode 10.x (SDK 12), iOS 10.x/11.x/12.x. We plan to drop iOS 10 in Q1 2019. PSPDFKit 8 will be released in Q4 2018, after Apple finishes iOS 12.
- PSPDFKit 7 for iOS — made for Xcode 9.x (SDK 11), works with iOS 10.x/11.x/(12*). iOS 9 has been dropped in 7.6.0. Preliminary iOS 12 support will come in 7.7.0.
- PSPDFKit 6 for iOS — made for Xcode 8.x (SDK 10), works with iOS 9.x/10.x/(11*)
- PSPDFKit 5 for iOS — made for Xcode 7.x (SDK 9), works with iOS 8.x/9.x/(10*)
- PSPDFKit 4 for iOS — made for Xcode 6.x (SDK 8), works with iOS 7.x/8.x/(9*)
- PSPDFKit 3 for iOS — made for Xcode 5.x (SDK 7), works with iOS 6.x/7.x/(8*)
- PSPDFKit 2 for iOS — made for Xcode 4.x (SDK 6), works with iOS 5.x/6.x
- PSPDFKit 1 for iOS — made for Xcode 4.x (SDK 5), works with iOS 4.x/5.x
Unsure which version you currently use? Learn how you can identify your current version.
Bitcode is included beginning with PSPDFKit 5. Bitcode is architecture dependent, and we ship bitcode slides for both armv7 and arm64. Since bitcode is an intermediary format, it’s larger and is responsible for about 80 percent of our framework size. This code is automatically stripped in the App Store and can easily be removed manually if you do not yet support bitcode or use enterprise installs.
As of January 2017, more than 92 percent of all active devices can use your product if your app supports iOS 10 upward. (iOS 9 is no longer separately disclosed; in November 2017 it was at 6 percent and falling.) See Mixpanel statistics or Apple’s official device statistics for details.
In general, the most recent build will always require the most recent stable version of Xcode, so we can utilize all improvements Apple is making on its tools and compiler infrastructure.
The base SDK is usually tied to a version of Xcode and includes specific compiler and linker versions. Apple encodes the base SDK into your application, and frameworks often have behavior specific to a base SDK version to ensure backward compatibility. This is the main reason PSPDFKit is tied to a specific version of Xcode. We use the latest compiler and language improvements and have a very sophisticated usage of UIKit, which means we often have to tweak things so that everything runs perfectly whenever the base SDK is updated.
The deployment target is the minimum version supported by your application.
ℹ️ Note: For previous PSPDFKit versions, we go the extra mile and try to make them work with most current iOS versions. (We improved code to make 5.5 work with iOS 10 and 4.4.x with iOS 9. This support is limited and some features will not work correctly. For example, the new iOS 9 multitasking support requires a lot of implementation changes and is known to not work with the legacy PSPDFKit 4.4.x.)
If you see this warning, PSPDFKit detected that the Xcode version used is not the one we recommend:
1 2 3 4 5
PSPDFKit was built to be linked with Xcode X.X. (X). Your application has been built and linked with a different version (X). This may result in undefined behavior and bugs and is not supported. We strongly recommend updating PSPDFKit to a newer version that matches your current Xcode version. See https://pspdfkit.com/guides/ios/current/announcements/version-support for details.
This is a conservative warning, as Apple changes behavior based on the base SDK, including minor versions. This might trigger bugs in either Apple’s or PSPDFKit’s frameworks. We err on the side of extreme caution and issue a developer-only warning. We do not block you from compiling a version of PSPDFKit with a newer version of the SDK; we just discourage it and print a warning.
PSPDFKit for iOS supports all available iOS devices and form factors and includes many adjustments for optimal display for small and large screens: iPhone, iPhone Plus, iPod Touch, iPad, iPad Pro. (Binary ships with armv7/arm64/i386/x86_64.)
The iPhone 4S, iPad 2, iPad 3, iPad mini, and fifth-generation iPod Touch will not run iOS 10.
The iPhone 5, iPad 4, and iPhone 5C will not run iOS 11. (32-bit hardware has been dropped completely.)
For a detailed overview, see the iOS Support Matrix.
Wikipedia’s List of iOS devices also features an in-depth capability overview.