6
0
webid-eident-plugin-spm/Package.swift
2025-07-15 23:52:53 +02:00

47 lines
1.7 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: "WebIdEIdentPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdEIdentPlugin", targets: ["WebIdEIdentPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdPluginCore",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-plugin-core-spm.git",
.branch("experimental")
),
.package(
name: "AusweisApp2",
url: "https://github.com/Governikus/AusweisApp2-SDK-iOS",
.exact("2.2.2")
)
],
targets: [
.binaryTarget(
name: "WebIdEIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/experimental/de/webid-solutions/WebIdEIdentPlugin/20.0.3/WebIdEIdentPlugin.framework-v20.0.3-SNAPSHOT-576.zip",
checksum: "c25ecefb0cda4667bb88fbdae184c4565fbe2d360273c0b8ce2cb013876fbaeb"
),
.target(
name: "WebIdEIdentPluginWrapper",
dependencies: [
.target(name: "WebIdEIdentPlugin"),
// [target dependecies here]
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
.product(name: "AusweisApp2", package: "AusweisApp2"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)