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.shNOTE
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):
- Use
.xcframeworklibrary variants. - In Target → General → Deployment Info, enable Mac (Designed for iPad).
- Requires macOS 10.15+ and Xcode 11+.
Minimum deployment target
| SDK version | Minimum iOS |
|---|---|
| 9.x | iOS 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.frameworkif scanning is not required. .xcframeworkwith App Thinning can reduce installed app size.