2024-03-08 09:01:34 +01:00
|
|
|
// swift-tools-version:5.3
|
|
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
|
name: "WebIdOnDeviceDocumentScanner",
|
|
|
|
|
platforms: [
|
|
|
|
|
.iOS(.v13)
|
|
|
|
|
],
|
|
|
|
|
products: [
|
|
|
|
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
|
|
|
|
.library(name: "WebIdOnDeviceDocumentScanner", targets: ["WebIdOnDeviceDocumentScannerWrapper"]),
|
|
|
|
|
],
|
|
|
|
|
dependencies: [
|
|
|
|
|
// Dependencies declare other packages that this package depends on.
|
|
|
|
|
.package(
|
|
|
|
|
name: "WebIdDocumentScanner",
|
2025-09-18 17:35:48 +02:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-document-scanner-spm.git",
|
2024-03-08 09:01:34 +01:00
|
|
|
.branch("snapshots")
|
2024-06-26 15:59:29 +02:00
|
|
|
),
|
|
|
|
|
.package(
|
|
|
|
|
name: "WebIdPluginCore",
|
2026-01-21 11:37:27 +01:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm",
|
|
|
|
|
.branch("snapshots")
|
2025-01-17 12:40:31 +01:00
|
|
|
),
|
|
|
|
|
.package(
|
|
|
|
|
name: "DocumentReader",
|
|
|
|
|
url: "https://github.com/regulaforensics/DocumentReader-Swift-Package",
|
2026-01-21 11:37:27 +01:00
|
|
|
.exact("8.4.5436")
|
2025-01-17 12:40:31 +01:00
|
|
|
),
|
|
|
|
|
.package(
|
|
|
|
|
name: "Full",
|
|
|
|
|
url: "https://github.com/regulaforensics/DocumentReaderFull-Swift-Package",
|
2026-01-21 11:37:27 +01:00
|
|
|
.exact("8.4.14872")
|
2024-03-08 09:01:34 +01:00
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
targets: [
|
|
|
|
|
.binaryTarget(
|
|
|
|
|
name: "WebIdOnDeviceDocumentScanner",
|
2026-02-02 14:02:07 +01:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdOnDeviceDocumentScanner/21.0.2/WebIdOnDeviceDocumentScanner.framework-v21.0.2-SNAPSHOT-1548.zip",
|
|
|
|
|
checksum: "63096120cba3023a70b0c02c32838baa75296d6ae6e2803b38623a91d067be46"
|
2024-03-08 09:01:34 +01:00
|
|
|
),
|
|
|
|
|
.target(
|
|
|
|
|
name: "WebIdOnDeviceDocumentScannerWrapper",
|
|
|
|
|
dependencies: [
|
|
|
|
|
.target(name: "WebIdOnDeviceDocumentScanner"),
|
|
|
|
|
// [target dependecies here]
|
|
|
|
|
|
|
|
|
|
.product(name: "WebIdDocumentScanner", package: "WebIdDocumentScanner"),
|
2024-06-26 15:59:29 +02:00
|
|
|
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
|
2025-01-17 12:40:31 +01:00
|
|
|
.product(name: "DocumentReader", package: "DocumentReader"),
|
|
|
|
|
.product(name: "Full", package: "Full"),
|
2024-03-08 09:01:34 +01:00
|
|
|
]
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
swiftLanguageVersions: [SwiftVersion.v5]
|
|
|
|
|
)
|