Skip to content

Build, size, and compatibility ​

Common SDK build and compatibility topics.

App Store submission: strip simulator architectures ​

SDK .framework binaries may include simulator architectures (x86_64). Strip them before App Store submission. The SDK provides prepare-framework-to-publish-to-appstore.sh:

bash
bash libs/prepare-framework-to-publish-to-appstore.sh

NOTE

With .xcframework, stripping is not required; platform slices are already separated.

Bitcode support ​

From Xcode 14 onward, Apple removed Bitcode support. On older Xcode versions, if you see Bitcode link errors, set Enable Bitcode to No in Build Settings.

Mac Catalyst support ​

To build an iPad app for Mac (Mac Catalyst):

  1. Use .xcframework library variants.
  2. In Target → General → Deployment Info, enable Mac (Designed for iPad).
  3. Requires macOS 10.15+ and Xcode 11+.

Minimum deployment target ​

SDK versionMinimum iOS
9.xiOS 11.0
7.5.1+iOS 11.0 (64-bit only)

Package size optimization ​

  • If you do not need all UI Extensions features, load modules selectively with UIExtensionsConfig.
  • Do not link FoxitPDFScanUI.framework if scanning is not required.
  • .xcframework with App Thinning can reduce installed app size.