Skip to content

Face SDK Setup

SharSP edited this page Jan 10, 2019 · 2 revisions

Get Started

This guide is a quick start to add SmilePass biometric verification to an Xcode Project.

Prerequisites

SmilePass API key

Your application needs an API key to access the features of SmilePass SDK. You can use it with any of your applications that use SmilePass Mobile SDKs and External APIs. It supports an unlimited number of users. To get an API key, Contact SmilePass

Add SmilePass to your application

There are 2 ways to set up the SmilePass SDK in your project -

CocoaPods

  1. If you are not yet using Cocoapods in your project, first run sudo gem install cocoapods followed by pod init. (For further information on installing Cocoapods, Click here)

  2. Add the following to your Podfile (inside the target section):

    pod 'SmilePassFaceDetector'

  3. Run pod install.

Manual

  1. Download SmilePassFaceDetector.framework from this repo.

  2. Add SmilePassFaceDetector.framework in your project's Frameworks.

  3. Make sure SmilePassFaceDetector.framework is added into Embedded binaries in your target's settings.

  4. SmilePassFaceDetector.framework is using Google Vision for detecting face, so if you are adding this framework manually, make sure all of the Google Vision frameworks are also added in your project (either manually or through cocoapods).

Clone this wiki locally