diff --git a/Example/Example.xcodeproj/project.pbxproj b/Example/Example.xcodeproj/project.pbxproj index d6f89f4..74289bf 100644 --- a/Example/Example.xcodeproj/project.pbxproj +++ b/Example/Example.xcodeproj/project.pbxproj @@ -219,7 +219,6 @@ "${BUILT_PRODUCTS_DIR}/MBProgressHUD/MBProgressHUD.framework", "${BUILT_PRODUCTS_DIR}/Socket.IO-Client-Swift/SocketIO.framework", "${BUILT_PRODUCTS_DIR}/Starscream/Starscream.framework", - "${BUILT_PRODUCTS_DIR}/SwiftyJSON/SwiftyJSON.framework", "${BUILT_PRODUCTS_DIR}/iProovAPIClient/iProovAPIClient.framework", "${PODS_XCFRAMEWORKS_BUILD_DIR}/iProov/iProov.framework/iProov", ); @@ -229,7 +228,6 @@ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MBProgressHUD.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SocketIO.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Starscream.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftyJSON.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/iProovAPIClient.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/iProov.framework", ); diff --git a/Example/Example/ViewController.swift b/Example/Example/ViewController.swift index a79feb6..4697f64 100644 --- a/Example/Example/ViewController.swift +++ b/Example/Example/ViewController.swift @@ -41,69 +41,72 @@ class ViewController: UIViewController { hud.mode = .indeterminate hud.label.text = "Getting token..." - apiClient.getToken(assuranceType: assuranceType, type: claimType, userID: userID, success: { token in - - IProov.launch(streamingURL: Self.baseURL, token: token) { status in - - switch status { - case .connecting: - hud.mode = .indeterminate - hud.label.text = "Connecting..." - - case .connected: - break - - case let .processing(progress, message): - hud.mode = .determinateHorizontalBar - hud.label.text = message - hud.progress = Float(progress) - - case let .success(result): - hud.hide(animated: true) - - let alert = UIAlertController(title: "✅ Success", message: "Token: \(result.token)", preferredStyle: .alert) - alert.addAction(UIAlertAction(title: "Dismiss", style: .default, handler: nil)) - self.present(alert, animated: true, completion: nil) - - case let .failure(result): - hud.hide(animated: true) - - let alert = UIAlertController(title: "❌ \(result.feedbackCode)", message: result.reason, preferredStyle: .alert) - alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil)) - alert.addAction(UIAlertAction(title: "Retry", style: .default, handler: { (_) -> Void in - self.launch(claimType: claimType, assuranceType: assuranceType) - })) - self.present(alert, animated: true, completion: nil) - - case .cancelled: - hud.hide(animated: true) - - case let .error(error): - hud.hide(animated: true) - - let alert = UIAlertController(title: "❌ Error", message: error.localizedDescription, preferredStyle: .alert) - alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil)) - alert.addAction(UIAlertAction(title: "Retry", style: .default, handler: { (_) -> Void in - self.launch(claimType: claimType, assuranceType: assuranceType) - })) - self.present(alert, animated: true, completion: nil) - - @unknown default: - break + apiClient.getToken(assuranceType: assuranceType, + type: claimType, + userID: userID) { result in + + switch result { + case let .success(token): + IProov.launch(streamingURL: Self.baseURL, token: token) { status in + + switch status { + case .connecting: + hud.mode = .indeterminate + hud.label.text = "Connecting..." + + case .connected: + break + + case let .processing(progress, message): + hud.mode = .determinateHorizontalBar + hud.label.text = message + hud.progress = Float(progress) + + case let .success(result): + hud.hide(animated: true) + + let alert = UIAlertController(title: "✅ Success", message: "Token: \(result.token)", preferredStyle: .alert) + alert.addAction(UIAlertAction(title: "Dismiss", style: .default, handler: nil)) + self.present(alert, animated: true, completion: nil) + + case let .failure(result): + hud.hide(animated: true) + + let alert = UIAlertController(title: "❌ \(result.feedbackCode)", message: result.reason, preferredStyle: .alert) + alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil)) + alert.addAction(UIAlertAction(title: "Retry", style: .default, handler: { (_) -> Void in + self.launch(claimType: claimType, assuranceType: assuranceType) + })) + self.present(alert, animated: true, completion: nil) + + case .cancelled: + hud.hide(animated: true) + + case let .error(error): + hud.hide(animated: true) + + let alert = UIAlertController(title: "❌ Error", message: error.localizedDescription, preferredStyle: .alert) + alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil)) + alert.addAction(UIAlertAction(title: "Retry", style: .default, handler: { (_) -> Void in + self.launch(claimType: claimType, assuranceType: assuranceType) + })) + self.present(alert, animated: true, completion: nil) + + @unknown default: + break + } } - } - }, failure: { error in + case let .failure(error): + hud.hide(animated: true) - hud.hide(animated: true) - - let alert = UIAlertController(title: "Failed to get token", message: error.localizedDescription, preferredStyle: .alert) - alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil)) - alert.addAction(UIAlertAction(title: "Retry", style: .default, handler: { (_) -> Void in - self.launch(claimType: claimType, assuranceType: assuranceType) - })) - self.present(alert, animated: true, completion: nil) - - }) + let alert = UIAlertController(title: "Failed to get token", message: error.localizedDescription, preferredStyle: .alert) + alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil)) + alert.addAction(UIAlertAction(title: "Retry", style: .default, handler: { (_) -> Void in + self.launch(claimType: claimType, assuranceType: assuranceType) + })) + self.present(alert, animated: true, completion: nil) + } + } } } diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 0c27d29..22975d5 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,15 +1,13 @@ PODS: - - Alamofire (4.9.1) - - iProov (9.0.1): + - Alamofire (5.4.3) + - iProov (9.1.0): - Socket.IO-Client-Swift (~> 16.0) - - iProovAPIClient (0.4.0): - - Alamofire (~> 4.9) - - SwiftyJSON (~> 5.0) + - iProovAPIClient (1.0.0): + - Alamofire (~> 5.0) - MBProgressHUD (1.2.0) - Socket.IO-Client-Swift (16.0.1): - Starscream (~> 4.0) - Starscream (4.0.4) - - SwiftyJSON (5.0.1) DEPENDENCIES: - iProov (from `../`) @@ -22,7 +20,6 @@ SPEC REPOS: - MBProgressHUD - Socket.IO-Client-Swift - Starscream - - SwiftyJSON EXTERNAL SOURCES: iProov: @@ -32,18 +29,17 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: iProovAPIClient: - :commit: 239ca8a962e4dbc5360448a8afe0ab88dc612dec + :commit: 9cf62d6a9655cca4dd7eb8cec4159b4a25133099 :git: https://github.com/iProov/ios-api-client.git SPEC CHECKSUMS: - Alamofire: 85e8a02c69d6020a0d734f6054870d7ecb75cf18 - iProov: 229c72183e440790a58a0298ae24f1515eea1432 - iProovAPIClient: 9484820449f5570655325bc48e58d2fc02a4411e + Alamofire: e447a2774a40c996748296fa2c55112fdbbc42f9 + iProov: aa2bf3acd526d9545c649e3de1a3bf2ee535c4dc + iProovAPIClient: d0246a5a46e48c7f0f9f61f6606b92de7faa3959 MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406 Socket.IO-Client-Swift: c116d6dc9fd6be9c259bacfe143f8725bce7d79e Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9 - SwiftyJSON: 2f33a42c6fbc52764d96f13368585094bfd8aa5e PODFILE CHECKSUM: 39da1444dfba6fa4a1792b0aceedd179eef46153 -COCOAPODS: 1.10.2 +COCOAPODS: 1.11.2 diff --git a/README.md b/README.md index 0ab9dbe..7b36082 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![iProov: Flexible authentication for identity assurance](images/banner.jpg) -# iProov Biometrics iOS SDK v9.0.1 +# iProov Biometrics iOS SDK v9.1.0 ## Table of contents @@ -23,7 +23,9 @@ The iProov Biometrics iOS SDK enables you to integrate iProov into your iOS app. ### Requirements - iOS 10.0 and above -- Xcode 11.0 and above +- Xcode 12.4 and above* + +*(\*You may find that previous versions of Xcode also work fine, but this is not officially supported.)* The framework has been written in Swift 5.3, and we recommend use of Swift for the simplest and cleanest integration, however it is also possible to call iProov from within an Objective-C app using our [Objective-C API](https://github.com/iProov/ios/wiki/Objective-C-Support), which provides an Objective-C friendly API to invoke the Swift code. @@ -44,7 +46,7 @@ These dependencies are vendored and compiled into the SDK, this requires no acti Module stability is supported in Swift 5.1 (Xcode 11) and above. The advantage of this is that the SDK no longer needs to be recompiled for every new version of the Swift compiler. -iProov is built with the _"Build Libraries for Distribution"_ build setting enabled, which means that its dependencies must also be built in the same fashion. However, this is still not fully supported in either Cocoapods nor Carthage as of July 2021, therefore some workarounds are required (see installation documentation for details). +iProov is built with the _"Build Libraries for Distribution"_ build setting enabled, which means that its dependencies must also be built in the same fashion. This must be also be set for both Cocoapods and Carthage (see installation documentation for details). ## Repository contents @@ -354,7 +356,7 @@ options.ui.stringsTable = "Localizable-MyApp.strings" // Pass a custom strings f Configure options relating to networking & security */ -options.network.certificates = [Bundle.main.path(forResource: "custom_cert", ofType: "der")!] // Supply an array of paths of certificates to be used for pinning. Useful when using your own reverse proxy to stream to iProov. Pinning can be disabled by passing an empty array (never do this in production apps!) Certificates should be generated in DER-encoded X.509 certificate format, e.g. with the command: $ openssl x509 -in cert.crt -outform der -out cert.der +options.network.certificates = [Bundle.main.path(forResource: "custom_cert", ofType: "der")!] // Certificates to be used for SSL pinning. Array elements should be of type String (path to certificate) or Data (the certificate itself). Useful when using your own reverse proxy to stream to iProov. Pinning can be disabled by passing an empty array (never do this in production apps!) See more info in the FAQs. Certificates should be passed in DER-encoded X.509 certificate format, e.g. with the command: $ openssl x509 -in cert.crt -outform der -out cert.der options.network.timeout = 10 // The network timeout in seconds. options.network.path = "/socket.io/v2/" // The path to use when streaming, defaults to /socket.io/v2/. You should not need to change this unless directed to do so by iProov. diff --git a/carthage/IProov.json b/carthage/IProov.json index e31caff..ce82013 100644 --- a/carthage/IProov.json +++ b/carthage/IProov.json @@ -36,5 +36,6 @@ "8.3.1": "https://raw.githubusercontent.com/iProov/ios/master/carthage/iProov_8_3_1.zip", "8.4.0": "https://raw.githubusercontent.com/iProov/ios/master/carthage/iProov_8_4_0.zip", "9.0.0": "https://raw.githubusercontent.com/iProov/ios/master/carthage/iProov_9_0_0.zip", - "9.0.1": "https://raw.githubusercontent.com/iProov/ios/master/carthage/iProov_9_0_1.zip" + "9.0.1": "https://raw.githubusercontent.com/iProov/ios/master/carthage/iProov_9_0_1.zip", + "9.1.0": "https://raw.githubusercontent.com/iProov/ios/master/carthage/iProov_9_1_0.zip" } diff --git a/carthage/iProov_9_1_0.zip b/carthage/iProov_9_1_0.zip new file mode 100644 index 0000000..0ffc41d Binary files /dev/null and b/carthage/iProov_9_1_0.zip differ diff --git a/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib b/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib index 5e3e63d..e469704 100644 Binary files a/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib and b/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib differ diff --git a/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib b/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib index f292a49..f0a8529 100644 Binary files a/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib and b/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib differ diff --git a/iProov.framework/Headers/iProov-Swift.h b/iProov.framework/Headers/iProov-Swift.h index 4ca391e..18525a8 100644 --- a/iProov.framework/Headers/iProov-Swift.h +++ b/iProov.framework/Headers/iProov-Swift.h @@ -360,7 +360,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @@ -797,7 +797,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @@ -1234,7 +1234,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @@ -1674,7 +1674,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @@ -2111,7 +2111,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; diff --git a/iProov.framework/Info.plist b/iProov.framework/Info.plist index cbf6272..627dd87 100644 Binary files a/iProov.framework/Info.plist and b/iProov.framework/Info.plist differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/arm.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/arm.swiftinterface index bdbcd20..e7a8790 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/arm.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/arm.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/arm.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/arm.swiftmodule index 3e6d853..00a18bb 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/arm.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/arm.swiftmodule differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftinterface index b48718d..bab95ff 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftmodule index 17ed56b..77f2f98 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftmodule differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftinterface index d5fbcc1..a0d66d4 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftmodule index 267888d..7794df1 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftmodule differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface index b48718d..bab95ff 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftmodule index 17ed56b..77f2f98 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftmodule differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftinterface index bdbcd20..e7a8790 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftmodule index 3e6d853..00a18bb 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftmodule differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftinterface index bdbcd20..e7a8790 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftmodule index 3e6d853..00a18bb 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftmodule differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftinterface index df2793a..27b82b4 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftmodule index a0063a4..0aebe38 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftmodule differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/i386.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/i386.swiftinterface index df2793a..27b82b4 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/i386.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/i386.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/i386.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/i386.swiftmodule index a0063a4..0aebe38 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/i386.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/i386.swiftmodule differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 7dae902..ac17259 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftmodule index 1a32cc6..fd58e4f 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftmodule differ diff --git a/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftinterface b/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftinterface index 7dae902..ac17259 100644 --- a/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftinterface +++ b/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftmodule b/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftmodule index 1a32cc6..fd58e4f 100644 Binary files a/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftmodule and b/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftmodule differ diff --git a/iProov.framework/iProov b/iProov.framework/iProov index 66f3fbd..6f01f2a 100755 Binary files a/iProov.framework/iProov and b/iProov.framework/iProov differ diff --git a/iProov.framework/iProov.plist b/iProov.framework/iProov.plist new file mode 100644 index 0000000..3207950 Binary files /dev/null and b/iProov.framework/iProov.plist differ diff --git a/iProov.podspec b/iProov.podspec index 78399a8..348a09b 100644 --- a/iProov.podspec +++ b/iProov.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'iProov' - s.version = '9.0.1' + s.version = '9.1.0' s.summary = 'Flexible authentication for identity assurance' s.homepage = 'https://www.iproov.com/' s.license = { :type => 'commercial', :file => 'LICENSE.md' } diff --git a/iProov.xcframework/Info.plist b/iProov.xcframework/Info.plist index f2f4e90..1676180 100644 --- a/iProov.xcframework/Info.plist +++ b/iProov.xcframework/Info.plist @@ -6,32 +6,32 @@ LibraryIdentifier - ios-arm64_i386_x86_64-simulator + ios-arm64_armv7 LibraryPath iProov.framework SupportedArchitectures arm64 - i386 - x86_64 + armv7 SupportedPlatform ios - SupportedPlatformVariant - simulator LibraryIdentifier - ios-arm64_armv7 + ios-arm64_i386_x86_64-simulator LibraryPath iProov.framework SupportedArchitectures arm64 - armv7 + i386 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib index 5e3e63d..e469704 100644 Binary files a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib and b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib differ diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib index f292a49..f0a8529 100644 Binary files a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib and b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib differ diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Headers/iProov-Swift.h b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Headers/iProov-Swift.h index 2de1046..343e4d2 100644 --- a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Headers/iProov-Swift.h +++ b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Headers/iProov-Swift.h @@ -359,7 +359,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @@ -796,7 +796,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Info.plist b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Info.plist index cbf6272..627dd87 100644 Binary files a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Info.plist and b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Info.plist differ diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm.swiftinterface b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm.swiftinterface index bdbcd20..e7a8790 100644 --- a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm.swiftinterface +++ b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftinterface b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftinterface index d5fbcc1..a0d66d4 100644 --- a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftinterface +++ b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface index d5fbcc1..a0d66d4 100644 --- a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface +++ b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftinterface b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftinterface index bdbcd20..e7a8790 100644 --- a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftinterface +++ b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/armv7-apple-ios.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftinterface b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftinterface index bdbcd20..e7a8790 100644 --- a/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftinterface +++ b/iProov.xcframework/ios-arm64_armv7/iProov.framework/Modules/iProov.swiftmodule/armv7.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/iProov b/iProov.xcframework/ios-arm64_armv7/iProov.framework/iProov index 29dd5eb..5e09ac5 100755 Binary files a/iProov.xcframework/ios-arm64_armv7/iProov.framework/iProov and b/iProov.xcframework/ios-arm64_armv7/iProov.framework/iProov differ diff --git a/iProov.xcframework/ios-arm64_armv7/iProov.framework/iProov.plist b/iProov.xcframework/ios-arm64_armv7/iProov.framework/iProov.plist new file mode 100644 index 0000000..3207950 Binary files /dev/null and b/iProov.xcframework/ios-arm64_armv7/iProov.framework/iProov.plist differ diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib index 725f037..cb07ff4 100644 Binary files a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib and b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib differ diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib index 0077025..ae4f007 100644 Binary files a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib and b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Base.lproj/Main.storyboardc/IProovViewController.nib differ diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Headers/iProov-Swift.h b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Headers/iProov-Swift.h index 79c1199..87aff4d 100644 --- a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Headers/iProov-Swift.h +++ b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Headers/iProov-Swift.h @@ -359,7 +359,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @@ -796,7 +796,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @@ -1233,7 +1233,7 @@ SWIFT_CLASS_NAMED("LivenessAssurance") SWIFT_CLASS_NAMED("Network") @interface IPNetworkOptions : NSObject -@property (nonatomic, copy) NSArray * _Nonnull certificates; +@property (nonatomic, copy) NSArray * _Nonnull certificates; @property (nonatomic) NSTimeInterval timeout; @property (nonatomic, copy) NSString * _Nonnull path; - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Info.plist b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Info.plist index 0633b10..890f5b4 100644 Binary files a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Info.plist and b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Info.plist differ diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftinterface index b48718d..bab95ff 100644 --- a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface index b48718d..bab95ff 100644 --- a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface +++ b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/arm64.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftinterface b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftinterface index df2793a..27b82b4 100644 --- a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftinterface +++ b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/i386-apple-ios-simulator.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/i386.swiftinterface b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/i386.swiftinterface index df2793a..27b82b4 100644 --- a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/i386.swiftinterface +++ b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/i386.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 7dae902..ac17259 100644 --- a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftinterface b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftinterface index 7dae902..ac17259 100644 --- a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftinterface +++ b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/Modules/iProov.swiftmodule/x86_64.swiftinterface @@ -5,13 +5,11 @@ import AVFoundation import Accelerate import AudioToolbox import CommonCrypto -import CoreImage import CoreMedia import CoreMotion import CoreVideo import Dispatch import Foundation -import ImageIO import OpenGLES import QuartzCore import Security @@ -56,6 +54,12 @@ public enum IProovError : Foundation.LocalizedError, Foundation.CustomNSError { public var errorDescription: Swift.String? { get } + public var localizedTitle: Swift.String { + get + } + public var localizedMessage: Swift.String? { + get + } } @objc public protocol IProovPresentationDelegate : AnyObject { @objc func present(iProovViewController: UIKit.UIViewController, completion: (() -> Swift.Void)?) @@ -109,7 +113,7 @@ extension IProov { @objc deinit } @_inheritsConvenienceInitializers @objc(IPNetworkOptions) public class Network : ObjectiveC.NSObject { - @objc public var certificates: [Swift.String] + @objc public var certificates: [Any] @objc public var timeout: Swift.Double @objc public var path: Swift.String @objc override dynamic public init() @@ -193,9 +197,6 @@ extension IProov { public static func launch(streamingURL: Swift.String, token: Swift.String, options: iProov.Options = Options(), callback: @escaping iProov.Callback) @objc public static var keyPair: iProov.KeyPair } -extension SSLSecurity : Starscream.CertificatePinning { - public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) -} public protocol SSLTrustValidator { func isValid(_ trust: Security.SecTrust, domain: Swift.String?) -> Swift.Bool } @@ -216,6 +217,9 @@ open class SSLSecurity : iProov.SSLTrustValidator { public func publicKeyChain(_ trust: Security.SecTrust) -> [Security.SecKey] @objc deinit } +extension SSLSecurity : Starscream.CertificatePinning { + public func evaluateTrust(trust: Security.SecTrust, domain: Swift.String?, completion: (Starscream.PinningState) -> Swift.Void) +} extension UIImage { convenience public init?(pixelBuffer: CoreVideo.CVPixelBuffer) } diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/iProov b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/iProov index abf2581..c5346a7 100755 Binary files a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/iProov and b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/iProov differ diff --git a/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/iProov.plist b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/iProov.plist new file mode 100644 index 0000000..3207950 Binary files /dev/null and b/iProov.xcframework/ios-arm64_i386_x86_64-simulator/iProov.framework/iProov.plist differ