Face Recognition SDK for iOS
An on-device iOS face recognition SDK built on a NIST FRTE-evaluated engine, with passive liveness detection internally evaluated against ISO/IEC 30107-3 Level 2-type attacks (printed photos, screen replays, and 3D masks) and built to detect deepfakes as well.
What You Need to Run It on iOS
These are the exact minimum and recommended requirements published in the FaceRecognition-LivenessDetection-iOS repository — check the repo directly for the latest version, since SDK requirements can change between releases.
Install and Activate
Install the SDK, then activate it with a license key before calling any recognition function — every platform follows this same activate-then-initialize pattern.
- Clone the repository.
Package.swiftresolves thefacerecognitionsdk.xcframeworkengine from the repository’s GitHub release, so a normal build needs no manual download. - In Xcode choose File → Add Package Dependencies → Add Local…, pick the cloned folder, and add
FaceRecognitionKit(and optionallyFaceRecognitionCapture) to your app target. - Add the camera and photo-library usage descriptions to
Info.plist, then activate once at launch with your license key.
Prefer a standalone demo app?
FacePlugin also publishes FaceRecognition-LivenessDetection-iOS, a standalone iOS demo app that combines on-device face detection, template extraction, 2D liveness, 1:1 matching, and 1:N identification. It includes Enroll, Identify, Capture, and Attribute screens and a Swift helper module (FaceRecognitionKit), so you can run it as-is or copy the module into your own app. It needs iOS 13.0 or newer, Xcode 15+, and a physical iPhone, and its three native frameworks are linked in the repo README. The bundled demo license is scoped to com.faceplugin.facerecognition.app; use your own bundle ID with a license issued for it.
iOS Integration Notes
Signing, device and build details from the iOS repository README that save the most time on a first run.
Signing and bundle id
Set your own Team in Xcode. The bundled demo key is tied to com.faceplugin.facerecognition.app; your own app needs a license issued for its bundle identifier.
Wait for Ready
The demo keeps the camera and gallery disabled until the engine reports Ready. Mirror that in your own UI: do not open capture until FaceEngine.shared.start has finished.
Launch crash in dyld (SIGABRT)
If the app aborts at launch, Xcode may have embedded a small Swift link stub instead of the real engine. Choose Product → Clean Build Folder (⇧⌘K) and run again.
Device builds only
The engine is arm64 for devices. Xcode 15 or newer and a physical iPhone are required; an iPhone 11 or newer is recommended. The simulator has no usable camera for liveness.
Swift Package Manager
Package.swift resolves the engine from the release attached to the tag, so a normal build needs no manual download step.
Threshold settings
The demo Settings screen exposes match, liveness and pose thresholds, so you can see the effect of a change on a live face before hard-coding values.
For server-side matching see the Linux and Docker server. If you also ship on Android, the Android SDK exposes the same detect, template and similarity calls.
How Licensing Works
Licenses are offline and bound to your app’s bundle identifier. The demo ships with a key for com.faceplugin.facerecognition.app; your own app needs its own key from FacePlugin. If we ask for a machine code, FaceEngine.shared.machineCode() returns it.
Frequently Asked Questions
Does the iOS SDK send biometric data to the cloud?
No. Every stage of face recognition runs on your own server or directly on the device, depending on the platform – biometric templates never leave an environment you control.
How is the SDK licensed?
Licenses are offline and bound to your iOS bundle identifier. The demo ships with a key for com.faceplugin.facerecognition.app; for your own bundle id, contact FacePlugin and we issue a key for it. There are no per-call or per-match fees once licensed.
Where can I see the full source and open an issue?
The FaceRecognition-LivenessDetection-iOS integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.
Ready to Add Face Recognition to Your iOS App?
Talk to our team to get a license key and a 15-day evaluation period started.