System requirements Pixelnetica™ Document Scanning SDK for Apple iOS
Platform
- iOS 16.3 or later. This is a hard minimum — the SDK does not load on earlier versions.
- Swift or Objective-C. The core engine (
DocScanningSDK) exposes an Objective-C API usable from both. The ready-to-use UI (DocScanningSDK-UI) is Swift. - Xcode 15 or later, with Swift Package Manager (the package manifest targets
swift-tools-version: 5.9). SwiftPM is the only supported integration channel — see Installation.
Architectures
The SDK ships as binary xcframeworks with slices for:
- arm64 — physical iPhone and iPad devices.
- arm64 / x86_64 simulator — Apple-silicon and Intel Macs running the iOS Simulator.
Device vs Simulator
- Live camera capture requires a real device — the Simulator has no camera, so the camera scanner cannot run there.
- On the Simulator you can still exercise the rest of the pipeline by importing an existing image (from Photos or a file) and running detection, cropping, enhancement, OCR, and export.
Permissions
- Camera: add
NSCameraUsageDescriptionto yourInfo.plistto use the camera scanner. iOS requires it before the camera can start. - Photo library: if you import images from the user’s photo library, add the relevant photo-library usage description as well.