6
0

59 lines
2.3 KiB
Swift
Raw Permalink Normal View History

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",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-document-scanner-spm.git",
.branch("snapshots")
2024-06-26 15:59:29 +02:00
),
.package(
name: "WebIdPluginCore",
2025-04-17 11:58:54 +02:00
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git",
.exact("12.2.0")
2025-01-17 12:40:31 +01:00
),
.package(
name: "DocumentReader",
url: "https://github.com/regulaforensics/DocumentReader-Swift-Package",
2025-04-14 18:28:41 +02:00
.exact("7.5.4221")
2025-01-17 12:40:31 +01:00
),
.package(
name: "Full",
url: "https://github.com/regulaforensics/DocumentReaderFull-Swift-Package",
2025-04-14 18:28:41 +02:00
.exact("7.5.11015")
2024-03-08 09:01:34 +01:00
)
],
targets: [
.binaryTarget(
name: "WebIdOnDeviceDocumentScanner",
2025-04-17 11:58:54 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdOnDeviceDocumentScanner/12.3.0/WebIdOnDeviceDocumentScanner.framework-v12.3.0-SNAPSHOT-1335.zip",
checksum: "16ac7e726df3343f316973cce29e54b5f574a65d479988b2e7c32f35572ab962"
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]
)