7
0
webid-meta-plugin-spm/Package.swift
2026-04-24 14:44:04 +02: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: "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("22.1.0")
)
],
targets: [
.binaryTarget(
name: "WebIdMetaPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdMetaPlugin/22.4.1/WebIdMetaPlugin.framework-v22.4.1-SNAPSHOT-1693.zip",
checksum: "b0fa540326f4a0497be629b0c8eb5b7d212a5ee9dd4d4157031906952c978db2"
),
.target(
name: "WebIdMetaPluginWrapper",
dependencies: [
.target(name: "WebIdMetaPlugin"),
// [target dependecies here]
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)