6
0
webid-meta-plugin-spm/Package.swift
2025-11-13 17:46:02 +01:00

59 lines
2.4 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: "WebIdVideoIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-video-ident-plugin-spm",
.branch("experimental")
),
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
.branch("experimental")
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
.branch("experimental")
),
.package(
name: "WebIdOnServerDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-server-document-scanner-spm",
.branch("experimental")
)
],
targets: [
.binaryTarget(
name: "WebIdMetaPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/experimental/de/webid-solutions/WebIdMetaPlugin/201.1.5/WebIdMetaPlugin.framework-v201.1.5-SNAPSHOT-1556.zip",
checksum: "7dee078207245a16d3e77d372c23422eb973af5f081fb7715c43b36a689109b3"
),
.target(
name: "WebIdMetaPluginWrapper",
dependencies: [
.target(name: "WebIdMetaPlugin"),
// [target dependecies here]
.product(name: "WebIdVideoIdentPlugin", package: "WebIdVideoIdentPlugin"),
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
.product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"),
.product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)