6
0
webid-meta-plugin-spm/Package.swift
2025-04-28 18:16:47 +02:00

65 lines
2.7 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: "WebIdMetaPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdMetaPlugin", targets: ["WebIdMetaPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdVideoIdentProductPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-video-ident-product-plugin-spm.git",
.exact("13.6.2")
),
.package(
name: "WebIdVideoIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-video-ident-plugin-spm",
.exact("10.6.1")
),
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
.exact("11.3.0")
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
.exact("12.4.0")
),
.package(
name: "WebIdOnServerDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-server-document-scanner-spm",
.exact("12.4.0")
)
],
targets: [
.binaryTarget(
name: "WebIdMetaPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdMetaPlugin/13.6.2/WebIdMetaPlugin.framework-v13.6.2.zip",
checksum: "8e8be8da99d3144b7626483dcd316ec485955aac4a789cb99aa9d8af3e7ccc60"
),
.target(
name: "WebIdMetaPluginWrapper",
dependencies: [
.target(name: "WebIdMetaPlugin"),
// [target dependecies here]
.product(name: "WebIdVideoIdentProductPlugin", package: "WebIdVideoIdentProductPlugin"),
.product(name: "WebIdVideoIdentPlugin", package: "WebIdVideoIdentPlugin"),
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
.product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"),
.product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)