2025-10-09 21:39:35 +02:00

59 lines
2.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: "WebIdVideoIdProductPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdVideoIdProductPlugin", targets: ["WebIdVideoIdProductPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
.exact("20.3.5")
),
.package(
name: "WebIdOnServerDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-server-document-scanner-spm",
.exact("20.3.5")
),
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
.exact("20.3.2")
),
.package(
name: "WebIdVideoIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-video-ident-plugin-spm",
.exact("20.3.0")
)
],
targets: [
.binaryTarget(
name: "WebIdVideoIdProductPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdVideoIdProductPlugin/21.1.1/WebIdVideoIdProductPlugin.framework-v21.1.1.zip",
checksum: "1f4a93285635c55d5de87ce5b8f60bfd89ffa3730c9fb6b25f5c02bd3bbf7551"
),
.target(
name: "WebIdVideoIdProductPluginWrapper",
dependencies: [
.target(name: "WebIdVideoIdProductPlugin"),
// [target dependecies here]
.product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"),
.product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"),
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
.product(name: "WebIdVideoIdentPlugin", package: "WebIdVideoIdentPlugin"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)