Skip to content

Integration

The iOS IDLiveDocCaptureIAD solution comprises four iOS frameworks, each providing specialized functionality:

  1. IDLiveDocCaptureIAD.xcframework
    This core framework provides high-level classes and methods to facilitate document capture and manage injection-attack detection (IAD).

  2. CaptureCommon.xcframework`
    Contains the low-level camera capture functionality, handling session management, real-time previews, and user interactions for taking photos.

  3. `IADCommon.xcframework
    Enables creating encrypted IAD bundles with IDCameraController, which you can send to your server for verification.

  4. DocSdkMobile.xcframework
    Offers document detection logic for auto-capture flows, helping to identify when a document is properly aligned and ready to be captured.

Adding the Frameworks to Your Xcode Project

  1. In your Xcode Project Settings (under General → Frameworks, Libraries, and Embedded Content), add the following:
    • IDLiveDocCaptureIAD.xcframework
    • CaptureCommon.xcframework
    • IADCommon.xcframework
    • DocSdkMobile.xcframework
  2. Ensure each framework is set to “Embed & Sign”.

Note: If you encounter build errors, verify that these frameworks are also correctly linked under Build Phases → Link Binary With Libraries.

Additional Examples

  • Explore the DocCaptureExample app (iad-doc-capture-ios-X.X.X/DocCaptureExample) to see an implementation of these frameworks in a practical project.