SDK | Framework | SPM |
---|---|---|
DocumentDetector | pod 'DocumentDetector', '15.0.1' |
SPM Repository |
FaceAuth | pod 'FaceAuth', '6.1.0' |
|
FaceLiveness | pod 'FaceLiveness', '6.2.1' |
SPM Repository |
Deployment Info | Version |
---|---|
iOS Target | 13.0+ |
Xcode | 15.4+ |
Swift | 5.10+ |
- A valid caf mobileToken.
- Cocoapods installed
Make sure to add an NSCameraUsageDescription entry to your app's Info.plist file, explaining why your app requires camera access. For example: "To scan and verify identity documents."
Ensure you have CocoaPods installed. CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. If not installed, go through this getting started guide.
To initialize CocoaPods, navigate to your project directory in the terminal and run the following command to create a Podfile, if one doesn't already exist:
pod init
In your Podfile, you need to specify the reference to our framework. If you're adding our SDK for the first time, add the following line, replacing <framework_name>
with the actual name of the framework and <version>
with the desired version:
target 'your-project' do
use_frameworks!
pod '<framework_name>', '<version>'
After editing your Podfile, save it and run the following command to install the SDK along with its dependencies and update your local spec repositories:
pod install --repo-update
For additional support and documentation, visit CocoaPods Guides.
When using our SDKs, please make sure that you agree with our Privacy Policy and our Terms and Conditions of Use.