In this section, you will find all the information needed to install the Unico IDCloud platform SDK in your iOS applications
Development Environment Preconditions
Ensure your development environment meets the following preconditions:
The capture component provided by the iOS SDK is compatible with all devices running iOS 11 or later. You can check the list of compatible devices on Apple’s official support channels.
Installing the iOS SDK
To integrate the Unico IDCloud iOS SDK into your iOS app, follow the steps below:
1
Using CocoaPods
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, refer to the official CocoaPods documentation. To integrate the iOS SDK into your Xcode project with CocoaPods, follow these steps:
Add unicocheck-ios to your Podfile:
podfile
pod ‘unicocheck-ios’
Run the following command in your terminal to install the dependencies:
pod install
If you are running the project in .xcodeproj, you must open it in .xcworkspace.
2
Using Swift Package Manager (SPM)
Swift Package Manager is a dependency manager for Swift projects. It integrates with the Swift build system to automate the downloading, compiling, and linking of dependencies. To integrate the iOS SDK into your project with SPM, follow these steps: