https://github.com/regulaforensics/idvfacesdk-swift-package
https://github.com/regulaforensics/idvfacesdk-swift-package
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/regulaforensics/idvfacesdk-swift-package
- Owner: regulaforensics
- Created: 2025-04-07T15:43:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-29T18:49:56.000Z (12 months ago)
- Last Synced: 2025-06-29T19:36:18.316Z (12 months ago)
- Language: Swift
- Size: 1000 Bytes
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IDV FaceSDK Integration Guide
## Introduction
This guide provides step-by-step instructions on integrating the **IDV FaceSDK** into an iOS application.
---
## Prerequisites
Before integrating the SDK, ensure the following:
- The application Minimum Deployment Target is **iOS 14** and above.
- Camera permission enabled
---
## Installation
### Cocoapods
Add the base dependency into your Podfile:
```
target 'YourAppTarget' do
use_frameworks!
pod 'IDVFaceSDK'
end
```
Include the FaceCoreBasic dependency, e.g.:
```
pod 'FaceCoreBasic'
```
Then install it:
```
pod install
```
### Swift Package Manager (SPM)
#### Swift Package Collection
Swift Package Collection is a set of all Regula products in one place.
To add Regula Swift Package Collection to your project, run the following command in Terminal:
```
swift package-collection add https://pods-master.regulaforensics.com/SPM/PodsCollection-signed.json
```
or in Xcode:
1. Navigate to File > Add Package Dependencies.
2. In the prompt that appears, click plus.
3. Select Add Package Collection.
4. In the prompt that appears, enter the collection URL:
```
https://pods.regulaforensics.com/SPM/PodsCollection-signed.json
```
5. Click Load and then Add Collection.
6. Select the package you want to add.
7. Select the version you want to use. For new projects, we recommend using the newest version.
8. Select the project you want to add the package.
9. Click Add Package.
Once you're finished, Xcode will begin downloading and resolving dependencies.
#### Add Packages Separately
You can add each package individually instead of using the collection. To do so, follow these steps:
1. In Xcode, naviate to File > Add Package Dependencies.
2. In the prompt that appears, enter the API package URL:
```
https://github.com/regulaforensics/IDVFaceSDK-Swift-Package
```
3. Select the version you want to use. For new projects, we recommend using the newest version.
4. Select the project you want to add the package.
5. Click Add Package.
Once you're finished, Xcode will begin downloading and resolving dependencies.
## Info.plist file setup
Set the description for NSCameraUsageDescription setting.
---
## Conclusion
For further details, refer to the [official IDVFaceSDK documentation](https://docs.regulaforensics.com/develop/idv/) or contact their support team.