47 lines
1.8 KiB
Swift
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.0/WebIdMetaPlugin.framework-v12.0.0.zip",
|
|
checksum: "25f1bd5fb6f8743e49ee23824d4caa2833091722ee63bff467d8fc0d1524af55"
|
|
),
|
|
.target(
|
|
name: "WebIdMetaPluginWrapper",
|
|
dependencies: [
|
|
.target(name: "WebIdMetaPlugin"),
|
|
// [target dependecies here]
|
|
|
|
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
|
|
.product(name: "WebIdVideoIdentPlugin", package: "WebIdVideoIdentPlugin"),
|
|
]
|
|
)
|
|
],
|
|
swiftLanguageVersions: [SwiftVersion.v5]
|
|
)
|