App Store Submissions
This article covers possible App Store Connect submission errors and warnings you may encounter when submitting an app with PSPDFKit integrated. It assumes both that you confirmed that your app and other third-party libraries your app uses are in compliance with the App Store Review Guidelines(opens in a new tab), and that you read Apple’s Avoiding common app rejections(opens in a new tab) article.
PSPDFKit makes sure to fully comply with all App Store submission requirements and review guidelines. Below, we’ve outlined known examples of error messages you may receive. If you encounter a rejection you believe is related to PSPDFKit but isn’t covered by this article, report it to us(opens in a new tab).
Purpose Strings
Example — ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSMicrophoneUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs.
Certain features in PSPDFKit need additional permissions, which will require modifications in your Info.plist
file. Refer to our Permissions(opens in a new tab) guide for more information.
UIWebView Usage
Example — ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.
We removed transitional support for UIWebView
(opens in a new tab) with the release of PSPDFKit 9. Upgrade(opens in a new tab) your PSPDFKit installation to the latest version and try again. If the warning doesn’t go away, it means other code or third-party libraries still reference UIWebView
somewhere.