Installing the Demo¶
To start looking at the Knomi S Face SDK Demo, we recommend using XCode 12.4 or higher to compile and run the demo on your iOS device. To begin using the demo:
Connect testing device (such as iPhone or iPad) to your computer via cable.
Open XCode.
Select File -> Open… from the menu.
Select the project located at src-demo/swift/FaceLivenessServerDemo/FaceLivenessServerDemo.xcodeproj and press Open.
Select Product -> Scheme in the menu and select the scheme titled “FaceLivenessServerDemo”.
Select Product -> Destination -> “iOS Device” and select target device.
Update the code signing for the demo to match your development environment:
Click on the project name “FaceLivenessServerDemo” on the left to bring up the project settings.
On the “General” tab, change the “Bundle Identifier” to a unique string (e.g. “com.company.FaceLivenessServerDemo”)
On the “Signing & Capabilities” tab, update the signing information to match your development environment. For automatic signing, check “Automatically manage signing” and select your “Team” identifier from the dropdown.
Select Product -> Run to start running the application
Select Product -> Stop to stop running the application
Please note:
The iOS emulator is not available as an option for Knomi S Face.
A connected device must be used for debugging and testing.
A connected device must already be setup for testing via Xcode.
Apple provides detailed documentation on their help website (https://help.apple.com/xcode/mac/current/).