6
0
webid-meta-plugin-spm/Package.swift

47 lines
1.8 KiB
Swift
Raw Normal View History

2024-03-11 12:24:31 +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.
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
.branch("snapshots")
),
.package(
name: "WebIdVideoIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-video-ident-plugin-spm",
.branch("snapshots")
)
],
targets: [
.binaryTarget(
name: "WebIdMetaPlugin",
2024-03-11 16:25:08 +01:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdMetaPlugin/12.0.0/WebIdMetaPlugin.framework-v12.0.0-SNAPSHOT-1100.zip",
checksum: "00335bcdd6cb51126242a3591a51304de9448a003f32c7894868551e30fdb6cc"
2024-03-11 12:24:31 +01:00
),
.target(
name: "WebIdMetaPluginWrapper",
dependencies: [
.target(name: "WebIdMetaPlugin"),
// [target dependecies here]
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
.product(name: "WebIdVideoIdentPlugin", package: "WebIdVideoIdentPlugin"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)