2024-03-22 10:33:03 +01:00
|
|
|
// 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.
|
2024-04-19 13:58:58 +02:00
|
|
|
.package(
|
|
|
|
|
name: "WebIdDigitalSigningPlugin",
|
|
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
|
2026-03-12 13:30:46 +01:00
|
|
|
.exact("21.0.4")
|
2024-03-22 10:33:03 +01:00
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
targets: [
|
|
|
|
|
.binaryTarget(
|
|
|
|
|
name: "WebIdMetaPlugin",
|
2026-03-12 13:30:46 +01:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdMetaPlugin/22.2.0/WebIdMetaPlugin.framework-v22.2.0.zip",
|
|
|
|
|
checksum: "f14498ffda1bceab61cfdd0c9af6b8a5a8c74f6644373e66389dda8b3f5e370d"
|
2024-03-22 10:33:03 +01:00
|
|
|
),
|
|
|
|
|
.target(
|
|
|
|
|
name: "WebIdMetaPluginWrapper",
|
|
|
|
|
dependencies: [
|
|
|
|
|
.target(name: "WebIdMetaPlugin"),
|
|
|
|
|
// [target dependecies here]
|
|
|
|
|
|
2024-04-19 13:58:58 +02:00
|
|
|
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
|
2024-03-22 10:33:03 +01:00
|
|
|
]
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
swiftLanguageVersions: [SwiftVersion.v5]
|
|
|
|
|
)
|