// 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") ), .package( name: "WebIdPluginCore", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm", .exact("12.1.0") ), .package( name: "DocumentReader", url: "https://github.com/regulaforensics/DocumentReader-Swift-Package", .upToNextMajor(from: "7.5.4221") ), .package( name: "Full", url: "https://github.com/regulaforensics/DocumentReaderFull-Swift-Package", .upToNextMajor(from: "7.5.11015") ) ], targets: [ .binaryTarget( name: "WebIdOnDeviceDocumentScanner", url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdOnDeviceDocumentScanner/12.3.0/WebIdOnDeviceDocumentScanner.framework-v12.3.0-SNAPSHOT-1331.zip", checksum: "875bdf5b2bb93c5b4d7a9209c4b4fabcf2034f43a68d9a0b7c0e53a036dd0b71" ), .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] )