6
0

59 lines
2.3 KiB
Swift
Raw Permalink Normal View History

2024-03-20 15:09:08 +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",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-document-scanner-spm.git",
2025-04-17 12:05:43 +02:00
.exact("12.4.0")
2024-03-20 15:09:08 +01:00
),
.package(
name: "WebIdPluginCore",
2025-04-17 12:05:43 +02:00
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git",
.exact("12.2.0")
2025-01-28 14:23:33 +01:00
),
.package(
name: "DocumentReader",
url: "https://github.com/regulaforensics/DocumentReader-Swift-Package",
2025-04-17 12:05:43 +02:00
.exact("7.5.4221")
2025-01-28 14:23:33 +01:00
),
.package(
name: "Full",
url: "https://github.com/regulaforensics/DocumentReaderFull-Swift-Package",
2025-04-17 12:05:43 +02:00
.exact("7.5.11015")
2024-03-20 15:09:08 +01:00
)
],
targets: [
.binaryTarget(
name: "WebIdOnDeviceDocumentScanner",
2025-04-17 12:05:43 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdOnDeviceDocumentScanner/12.4.0/WebIdOnDeviceDocumentScanner.framework-v12.4.0.zip",
checksum: "c1f97460a31fca36c32a6fa3e334a62e9f3936ec6a556af75eb35a2058ab98f6"
2024-03-20 15:09:08 +01:00
),
.target(
name: "WebIdOnDeviceDocumentScannerWrapper",
dependencies: [
.target(name: "WebIdOnDeviceDocumentScanner"),
// [target dependecies here]
.product(name: "WebIdDocumentScanner", package: "WebIdDocumentScanner"),
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
2025-01-28 14:23:33 +01:00
.product(name: "DocumentReader", package: "DocumentReader"),
.product(name: "Full", package: "Full"),
2024-03-20 15:09:08 +01:00
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)