An open API service indexing awesome lists of open source software.

https://github.com/regulaforensics/idvfacesdk-swift-package


https://github.com/regulaforensics/idvfacesdk-swift-package

Last synced: about 2 months ago
JSON representation

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.