2024-09-09 14:51:04 +02: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: "WebIdDocumentScanner",
|
|
|
|
platforms: [
|
|
|
|
.iOS(.v13)
|
|
|
|
],
|
|
|
|
products: [
|
|
|
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
|
|
|
.library(name: "WebIdDocumentScanner", targets: ["WebIdDocumentScannerWrapper"]),
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
// Dependencies declare other packages that this package depends on.
|
|
|
|
.package(
|
|
|
|
name: "WebIdPluginCore",
|
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-plugin-core-spm.git",
|
2024-11-29 16:15:11 +01:00
|
|
|
.exact("13.2.1")
|
2024-09-09 14:51:04 +02:00
|
|
|
)
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.binaryTarget(
|
|
|
|
name: "WebIdDocumentScanner",
|
2024-11-29 16:15:11 +01:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4/de/webid-solutions/WebIdDocumentScanner/13.2.0/WebIdDocumentScanner.framework-v13.2.0.zip",
|
|
|
|
checksum: "52116620e9a60e0180bb982b280d8dbb866ba5d3ae073012818e071ff9ceac6d"
|
2024-09-09 14:51:04 +02:00
|
|
|
),
|
|
|
|
.target(
|
|
|
|
name: "WebIdDocumentScannerWrapper",
|
|
|
|
dependencies: [
|
|
|
|
.target(name: "WebIdDocumentScanner"),
|
|
|
|
// [target dependecies here]
|
|
|
|
|
|
|
|
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
|
|
|
|
]
|
|
|
|
)
|
|
|
|
],
|
|
|
|
swiftLanguageVersions: [SwiftVersion.v5]
|
|
|
|
)
|