Skip to main content

Installation

Add the dependency and configure the package manager
Step 1 — Add the SDK dependency

Choose one of the following package managers:

CocoaPods is a dependency manager for Cocoa projects. For installation and usage instructions, visit the official CocoaPods documentation. To integrate the iOS SDK into your Xcode project using CocoaPods, include unicocheck-ios in your Podfile:

Podfile
pod 'unicocheck-ios'

Then install the dependencies from your terminal:

pod install
Open the workspace, not the project

If you're running the project with a .xcodeproj file, open the project with the .xcworkspace file instead.

Step 2 — Add camera usage permission

To use the camera opening method, you must declare camera usage in Info.plist before compiling your application:

Info.plist
<key>NSCameraUsageDescription</key>
<string>Camera usage description</string>