Share your Bundle ID with us for license key.
override func viewDidLoad() {
super.viewDidLoad()
var ret = SDK_LICENSE_KEY_ERROR.rawValue
if let filePath = Bundle.main.path(forResource: "license", ofType: "txt") {
do {
let license = try String(contentsOfFile: filePath, encoding: .utf8)
ret = FaceSDK.setActivation(license)
} catch {
print("Error reading file: \(error)")
}
} else {
print("File not found")
}
if(ret == SDK_SUCCESS.rawValue) {
ret = FaceSDK.initSDK()
}