|
Novarum DX Ltd
|
Document ID: IFU045
|
1. Overview
v4.0.1 updates the iOS Reader SDK customer integration path to Swift Package Manager. It replaces the previous 3.0.1-era CocoaPods setup with the private SwiftPM package novarumdx.ndx-imaging-swift, distributed through AWS CodeArtifact using the customer-facing novarum.client.swift registry.
-
Integration change: customers now integrate the
ImagingSwift package product via SwiftPM. -
Dependency change: the native core dependency is resolved transitively through
novarumdx.ndx-imaging-core/ndx_imaging_ios. -
API update: configuration loading uses the current
PMFLoaderdata-based methods. -
Callback update:
FrameCapturedCallback.stripStatusesis available for per-frame strip status reporting. -
Scope: customer integration guidance only; promotion, signing, pipeline, and SBOM details are excluded from this guide.
Warning: The SDK 4.0.1 (iOS) is not compatible with current reader files that do not use the new format with the {estimators: [ wrapper. Reader files must be updated to the new format before use with SDK 4.0.1 (iOS).
2. What’s New
2.1. iOS SwiftPM integration
-
Added Swift Package Manager setup using package id
novarumdx.ndx-imaging-swiftand productImaging. -
Updated CodeArtifact authentication to use the customer-facing
novarum.client.swiftrepository. -
Set the current integration version to
4.0.1.
2.2. Configuration and public API examples
-
Updated analyser/test configuration examples to use
PMFLoader.loadAnalyserConfiguration(from:),loadTestConfiguration(from:), andloadTestConfigurations(from:). -
Removed stale
json/jsonStringloader examples. -
Updated SwiftUI usage to the current
ReaderViewWrapperAPI. -
Added UIKit usage with
ReaderViewControllerandReaderViewControllerDelegate.
2.3. Callback/model documentation
-
Updated callback reference for
FrameCapturedCallback,PMFResult,StripStatus,AnalysisModel, andFrameData. -
Documented
FrameCapturedCallback.stripStatusesas available in current source.
3. Breaking vs. Non-breaking Summary
|
Change |
Type |
Developer impact |
|---|---|---|
|
CocoaPods setup removed from this customer guide |
Integration-breaking for old setup instructions |
Migrate customer apps to SwiftPM and CodeArtifact registry access. |
|
SwiftPM package |
New integration path |
Add package version |
|
Native dependency resolved transitively |
Non-breaking for SwiftPM users |
No separate |
|
|
API documentation correction |
Load JSON configuration into |
|
|
Additive |
Apps may consume per-frame strip status telemetry; existing callback handling can ignore it. |
4. When to Upgrade
Upgrade when integrating the iOS Reader SDK through the current customer distribution path or when migrating from the 3.0.1-era CocoaPods guide. New customer integrations should use v4.0.1 via SwiftPM.
5. Compatibility Notes
-
Minimum iOS version is 14.2.
-
Swift tools version is 5.9.
-
The Swift package product is
Imaging. -
The native core dependency
novarumdx.ndx-imaging-coreexact1.0.0is resolved transitively by SwiftPM. -
Direct XCFramework integration is not documented as a customer path in this guide.
6. Summary of Developer Actions
|
Area |
Action Required |
|---|---|
|
Registry access |
Authenticate to AWS CodeArtifact using |
|
Dependency setup |
Add package |
|
Configuration loading |
Use |
|
SwiftUI/UIKit usage |
Use the current examples in sections 4 and 5. |
|
Troubleshooting |
Use SwiftPM/CodeArtifact troubleshooting; CocoaPods, private pod repo, Git LFS pod, and OpenCV pod troubleshooting are no longer applicable. |
7. Versioning Summary
|
Component |
Version |
Notes |
|---|---|---|
|
iOS Reader SDK Swift package |
4.0.1 |
Package id |
|
Native core dependency |
1.0.0 |
|
8. Known Issues
The following table lists SDK iOS defect issues that are not currently in a Done status category.
|
Open Defects in the SDK (Total: 1)
|
||||
|---|---|---|---|---|
|
Key
|
Summary
|
Affects versions
|
Risk (calculated)
|
Status
|
| SDKIOS-127 | ReaderViewController deconstruction is causing a leak | 4.0.1-ios | 🟥 High | Open |