webid-epass-plugin-spm/Package.swift
2026-03-11 13:36:17 +01:00

71 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: "WebIdEPassPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdEPassPlugin", targets: ["WebIdEPassPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdPluginCore",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git",
.exact("21.0.5")
),
.package(
name: "OpenSSL",
url: "https://github.com/krzyzanowskim/OpenSSL.git",
.upToNextMajor(from: "3.6.1")
),
.package(
name: "CryptoSwift",
url: "https://github.com/krzyzanowskim/CryptoSwift",
.upToNextMajor(from: "1.9.0")
),
.package(
name: "ASN1",
url: "https://github.com/leif-ibsen/ASN1",
.upToNextMajor(from: "2.7.0")
),
.package(
name: "SwiftECC",
url: "https://github.com/leif-ibsen/SwiftECC",
.upToNextMajor(from: "5.5.0")
),
.package(
name: "Logging",
url: "https://github.com/apple/swift-log",
.upToNextMajor(from: "1.6.4")
)
],
targets: [
.binaryTarget(
name: "WebIdEPassPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdEPassPlugin/1.0.0/WebIdEPassPlugin.framework-v1.0.0.zip",
checksum: "d102e8eb89ae7d30fb2efae321172e259784546dc4a6f7c333d4719235711114"
),
.target(
name: "WebIdEPassPluginWrapper",
dependencies: [
.target(name: "WebIdEPassPlugin"),
// [target dependecies here]
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
.product(name: "OpenSSL", package: "OpenSSL"),
.product(name: "CryptoSwift", package: "CryptoSwift"),
.product(name: "ASN1", package: "ASN1"),
.product(name: "SwiftECC", package: "SwiftECC"),
.product(name: "Logging", package: "Logging"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)