6
0
2025-01-24 15:45:15 +01: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.1.0")
),
.package(
name: "WebIdPluginCore",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git",
.exact("12.1.0")
)
],
targets: [
.binaryTarget(
name: "WebIdIosBankIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdIosBankIdentPlugin/10.2.0/WebIdIosBankIdentPlugin.framework-v10.2.0.zip",
checksum: "a33ac6d513c1442c044ff29765da41499ba3b5fe0b53f85114b36603962d48f8"
),
.target(
name: "WebIdIosBankIdentPluginWrapper",
dependencies: [
.target(name: "WebIdIosBankIdentPlugin"),
// [target dependecies here]
.product(name: "XS2AiOS", package: "XS2AiOS"),
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)