Offline face detection, recognition, liveness detection, and anti-spoofing for iPhone and iPad.
English · 简体中文
FaceAISDK is an on-device SDK that brings face enrollment, liveness detection, and face recognition to iOS and iPadOS apps. All processing happens locally, so the core features work without network access.
| Capability | Description | |
|---|---|---|
| 🔍 | Face detection | Locate and analyze faces on-device |
| 🪪 | Face recognition | Enroll and match face identities |
| 🛡️ | Liveness detection | Detect presentation attacks and spoofing |
| Offline runtime | Process data locally without a network connection |
| Item | Requirement |
|---|---|
| Xcode | 15.2 or later; verified up to Xcode 26.5 |
| Swift | 5.9 or later; compatible with Swift 6.3 |
| Languages | Swift and Objective-C |
| Dependency manager | CocoaPods |
Add FaceAISDK_Core to your Podfile. Replace the placeholder with the release tag you want to use.
pod 'FaceAISDK_Core', :git => 'https://github.com/FaceAISDK/FaceAISDK_Core.git', :tag => '2026.*******'
# Or install a published CocoaPods version:
# pod 'FaceAISDK_Core', '2026.*******'pod installTo update only FaceAISDK:
pod update FaceAISDK_CoreNote
The first installation of TensorFlowLiteSwift can take around 30 minutes, depending on your network and machine. You can use the TensorFlow archive download to verify that GitHub downloads are available in your network environment.
FaceAISDK_Core fails to clone
This error usually indicates an unstable or restricted network connection:
Updating local specs repositories
Downloading dependencies
Installing FaceAISDK_Core 2026.09.20
[!] Error installing FaceAISDK_Core
Cloning into '/var/folders/gh/p4wv4ytj4tn5xrhgq0n_jnbm0000gn/T/d20251020-8626-c57agm'...
fatal: unable to access 'https://github.com/FaceAISDK/FaceAISDK_Core.git/': Error in the HTTP2 framing layer
Retry from a stable network that can access GitHub.
The app crashes on first launch or after an update
If TensorFlowLiteSwift reports the following error:
Thread 1: EXC BAD ACCESS (code=1, address=0x800008)
In Xcode, select Product → Clean Build Folder, then update the SDK:
pod update FaceAISDK_CoreGit reports RPC failed, early EOF, or an unexpected disconnect
Example output:
[!] Error installing TensorFlowLiteSwift
Cloning into '/var/folders/ft/7cxjq5ss2094sj67mbhnzjrc0000gn/T/d20260113-17932-1xwealt'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 3926 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
Check your network connection and, if necessary, increase Git's HTTP buffer size:
git config --global http.postBuffer 987654321
git config --global https.postBuffer 987654321| Platform | Repository |
|---|---|
| iOS · Swift | FaceAISDK_iOS |
| iOS · Objective-C | ObjectC_FaceAISDK |
| Android | FaceAISDK_Android |
| Flutter | FaceRecognition_Flutter |
| uni-app UTS | FaceAISDK_uniapp_UTS |
| React Native | FaceRecognition_ReactNative |
Scan the QR code below to download the Android demo APK.
For integration support, email FaceAISDK.Service@gmail.com.
Made for fast, private, on-device face recognition.

