7
0
2026-01-12 20:32:13 +01:00

41 lines
1.5 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: "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/SwiftPackages/webid-plugin-core-spm.git",
.exact("15.1.1")
)
],
targets: [
.binaryTarget(
name: "WebIdDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdDocumentScanner/15.1.1/WebIdDocumentScanner.framework-v15.1.1.zip",
checksum: "5b1e522bed6f46dc5d1e8a17b7e5b80c3efee79d625b160e6f3eaa0040fd2e0d"
),
.target(
name: "WebIdDocumentScannerWrapper",
dependencies: [
.target(name: "WebIdDocumentScanner"),
// [target dependecies here]
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)