6
0
2024-03-20 14:37:40 +01: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",
.exact("10.0.0")
),
.package(
name: "WebIdSdkUiKitComponents",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-ui-components-spm.git",
.exact("7.0.0")
)
],
targets: [
.binaryTarget(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdDigitalSigningPlugin/10.0.0/WebIdDigitalSigningPlugin.framework-v10.0.0.zip",
checksum: "f7c8c6d7998ddf15fe0900f1070f639de18c340f9714d0386811907ff458b0c3"
),
.target(
name: "WebIdDigitalSigningPluginWrapper",
dependencies: [
.target(name: "WebIdDigitalSigningPlugin"),
// [target dependecies here]
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
.product(name: "WebIdSdkUiKitComponents", package: "WebIdSdkUiKitComponents"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)