6
0
webid-meta-plugin-spm/Package.swift
2024-03-26 13:52:46 +01:00

47 lines
1.8 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: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
.exact("10.0.0")
),
.package(
name: "WebIdVideoIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-video-ident-plugin-spm",
.exact("9.0.0")
)
],
targets: [
.binaryTarget(
name: "WebIdMetaPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdMetaPlugin/12.0.1/WebIdMetaPlugin.framework-v12.0.1.zip",
checksum: "d36c0bf05c927c4e674450111a78d49c5801d6ec5b5d4cdaa339590231bcec2a"
),
.target(
name: "WebIdMetaPluginWrapper",
dependencies: [
.target(name: "WebIdMetaPlugin"),
// [target dependecies here]
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
.product(name: "WebIdVideoIdentPlugin", package: "WebIdVideoIdentPlugin"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)