6
0
2025-04-11 10:51:20 +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: "WebIdIosBankIdentPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdIosBankIdentPlugin", targets: ["WebIdIosBankIdentPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "XS2AiOS",
url: "https://github.com/FinTecSystems/xs2a-ios",
.exact("2.0.0")
),
.package(
name: "WebIdPluginCore",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git",
.branch("snapshots")
)
],
targets: [
.binaryTarget(
name: "WebIdIosBankIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdIosBankIdentPlugin/10.3.0/WebIdIosBankIdentPlugin.framework-v10.3.0-SNAPSHOT-346.zip",
checksum: "f7a38b90b46a48920cc05a4f2aac14bb228b1fb97e617dcddcea0564fd5c94b3"
),
.target(
name: "WebIdIosBankIdentPluginWrapper",
dependencies: [
.target(name: "WebIdIosBankIdentPlugin"),
// [target dependecies here]
.product(name: "XS2AiOS", package: "XS2AiOS"),
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)