Skip to content

About

iOS on_device Face Recognition 、 Liveness detection SDK 。iOS 人脸识别SDK支持ObjectC和Swift混合使用,支持iOS[15,26]

Topics

Resources

Stars

348 stars

Watchers

3 watching

Forks

Repository files navigation

FaceAISDK logo

FaceAISDK for iOS

Offline face detection, recognition, liveness detection, and anti-spoofing for iPhone and iPad.

Platform Swift Xcode Runtime

English · 简体中文


Overview

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

Requirements

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

Quick Start

1. Add the dependency

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.*******'

2. Install the SDK

pod install

To update only FaceAISDK:

pod update FaceAISDK_Core

Note

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.

Troubleshooting

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_Core
Git 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

Related Projects

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

Preview

FaceAISDK preview

Android Demo

Scan the QR code below to download the Android demo APK.

Android demo APK QR code

Contact

For integration support, email FaceAISDK.Service@gmail.com.

Made for fast, private, on-device face recognition.

About

iOS on_device Face Recognition 、 Liveness detection SDK 。iOS 人脸识别SDK支持ObjectC和Swift混合使用,支持iOS[15,26]

Topics

Resources

Stars

348 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages