6
0
2025-09-26 13:26:42 +02:00

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: "WebIdDigitalSigningPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdDigitalSigningPlugin", targets: ["WebIdDigitalSigningPluginWrapper"]),
],
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",
.branch("snapshots")
),
.package(
name: "WebIdSdkUiKitComponents",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-ui-components-spm.git",
.branch("snapshots")
)
],
targets: [
.binaryTarget(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdDigitalSigningPlugin/20.2.2/WebIdDigitalSigningPlugin.framework-v20.2.2-SNAPSHOT-961.zip",
checksum: "2e2659fcb7f3c78b4c15c2162149ddb8ad4b40649a53f2ef3701d7504a7e6c6a"
),
.target(
name: "WebIdDigitalSigningPluginWrapper",
dependencies: [
.target(name: "WebIdDigitalSigningPlugin"),
// [target dependecies here]
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
.product(name: "WebIdSdkUiKitComponents", package: "WebIdSdkUiKitComponents"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)