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'
Current version

CocoaPods always resolves the latest stable release. The current SDK version is 3.0.4.

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.

App Store distribution — Xcode 16 / bitcode

CocoaPods builds may be rejected by the App Store due to bitcode in the DeviceProfiling and UnicoSdkLogger frameworks. This issue surfaces at submission time, not at install time. See Known Issues for the workaround before submitting to production.

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>