// 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/SwiftPackageRedesignV4/webid-document-scanner-spm.git", .branch("experimental") ), .package( name: "WebIdPluginCore", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-plugin-core-spm.git", .branch("redesign-v4-snapshots") ), .package( name: "DocumentReader", url: "https://github.com/regulaforensics/DocumentReader-Swift-Package", .exact("7.5.4221") ), .package( name: "Full", url: "https://github.com/regulaforensics/DocumentReaderFull-Swift-Package", .exact("7.5.11015") ) ], targets: [ .binaryTarget( name: "WebIdOnDeviceDocumentScanner", url: "https://api.webid-solutions.de/releases/ios/xcframework/experimental/de/webid-solutions/WebIdOnDeviceDocumentScanner/13.3.0/WebIdOnDeviceDocumentScanner.framework-v13.3.0-SNAPSHOT-1396.zip", checksum: "31e23186a643577bb1366f0f9075177a595b5186186719b5a5ce31088b26b2c1" ), .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] )