7
0
2026-02-06 12:14:15 +01:00

59 lines
2.3 KiB
Swift

// 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",
.exact("21.1.0")
),
.package(
name: "WebIdPluginCore",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git",
.exact("21.0.2")
),
.package(
name: "DocumentReader",
url: "https://github.com/regulaforensics/DocumentReader-Swift-Package",
.exact("9.1.5702")
),
.package(
name: "Full",
url: "https://github.com/regulaforensics/DocumentReaderFull-Swift-Package",
.exact("9.1.15611")
)
],
targets: [
.binaryTarget(
name: "WebIdOnDeviceDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdOnDeviceDocumentScanner/21.1.0/WebIdOnDeviceDocumentScanner.framework-v21.1.0.zip",
checksum: "1fd98141483c5e99968731a922ee9ad1472606986d84b31bb158474a98076a3c"
),
.target(
name: "WebIdOnDeviceDocumentScannerWrapper",
dependencies: [
.target(name: "WebIdOnDeviceDocumentScanner"),
// [target dependecies here]
.product(name: "WebIdDocumentScanner", package: "WebIdDocumentScanner"),
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
.product(name: "DocumentReader", package: "DocumentReader"),
.product(name: "Full", package: "Full"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)