Skip to main content

Migration guide

We recommend keeping the SDK up to date: every release includes improvements in detection, accuracy and security. This page lists only the changes that require action in your code or Xcode project.

Summary​

VersionChangeAction
7.2.1New face detection engine, shared with MobbScan; minimum iOS 15.0Add MobbeelCoreDetector, MobbeelFaceDetector and opencv2 4.13.0. See 7.2.1
7.0.2The SDK no longer adds the API version to the URLPass the full URL, host and path, in serverUrl
7.0Offline mode removed; API aligned with AndroidRemove the mode parameter

7.2.1​

Version 7.2.1 introduces a new face detection engine, shared with the MobbScan SDK, so both SDKs can coexist in the same app.

Minimum iOS version​

OpenCV 4.13.0, used by the new detector, requires iOS 15.0 or later. Set IPHONEOS_DEPLOYMENT_TARGET to 15.0 or later.

Add the detector frameworks​

Add the following XCFrameworks to your app target and set each of them to Embed & Sign. Keep MobbIdSdkCore.xcframework as it is:

Xcode›Target›General›Frameworks, Libraries, and Embedded Content
NameEmbed
MobbeelCoreDetector.xcframeworkAddEmbed & Sign
MobbeelFaceDetector.xcframeworkAddEmbed & Sign
MobbIdSdkCore.xcframeworkEmbed & Sign
opencv2.xcframeworkAddEmbed & Sign

3 frameworks to add.

opencv2.xcframework must be version 4.13.0. If your app also integrates MobbScan 2.37 or later, these frameworks are already part of your project: do not add them twice.

7.0​

Offline mode has been removed. Remove the mode parameter from the initialisation:

Initialisation
-MIDSDK.shared.doInitSDK(applicationId: "your_application_id",
- authToken: "your_auth_token",
- mode: .offline,
- serverUrl: "your_server_url")
+MIDSDK.shared.doInitSDK(applicationId: "your_application_id",
+ authToken: "your_auth_token",
+ serverUrl: "your_server_url")