Configuration
Requirements
Before integrating, ensure your environment meets the minimum requirements for the CafFaceLivenessLite SDK:
Minimum iOS Target
15.0+
Xcode Version
26.0+
Swift Version
6.3+
CAF Mobile Token
A valid mobileToken
Permissions
CAMERA
Capturing the selfie in live facial verification policies
Yes
Declare camera access with the NSCameraUsageDescription key in your app's Info.plist.
Installation
To integrate the CafFaceLivenessLite SDK into your iOS project, use Swift Package Manager (SPM) or CocoaPods. From 7.8.0, the binaries are also published to the CAF repository.
Swift Package Manager (SPM)
CocoaPods
CAF Repository (Binary Distribution)
From 7.8.0, CafFaceLivenessLite is also published to the CAF repository, the same one used for the Android SDKs. Each version has its own folder:
Replace {version} with the SDK version you want, for example 7.8.0. See Current Version.
CocoaPods with the CAF podspec
Point CocoaPods to the podspec published in the repository:
Then run pod install. The podspec downloads the xcframework from the CAF repository and declares its dependencies.
Release artifacts
CafFaceLivenessLite.xcframework.zip
https://repo.combateafraude.com/ios/release/CafFaceLivenessLite/{version}/CafFaceLivenessLite.xcframework.zip
CafFaceLivenessLite.xcframework.zip.sha256
https://repo.combateafraude.com/ios/release/CafFaceLivenessLite/{version}/CafFaceLivenessLite.xcframework.zip.sha256
CafFaceLivenessLite.podspec
https://repo.combateafraude.com/ios/release/CafFaceLivenessLite/{version}/CafFaceLivenessLite.podspec
Package.swift
https://repo.combateafraude.com/ios/release/CafFaceLivenessLite/{version}/Package.swift
SHA256 of CafFaceLivenessLite.xcframework.zip for v7.8.0:
To verify a downloaded file:
The output must match the .sha256 file published for that version.
Next step
Configure and start the liveness flow: Starting Liveness Flow
Last updated

