Integration¶
The iOS IDLiveDocCaptureIAD solution comprises four iOS frameworks, each providing specialized functionality:
-
IDLiveDocCaptureIAD.xcframework
This core framework provides high-level classes and methods to facilitate document capture and manage injection-attack detection (IAD). -
CaptureCommon.xcframework`
Contains the low-level camera capture functionality, handling session management, real-time previews, and user interactions for taking photos. -
`IADCommon.xcframework
Enables creating encrypted IAD bundles with IDCameraController, which you can send to your server for verification. -
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¶
- In your Xcode Project Settings (under General → Frameworks, Libraries, and Embedded Content), add the following:
IDLiveDocCaptureIAD.xcframework
CaptureCommon.xcframework
IADCommon.xcframework
DocSdkMobile.xcframework
- 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.