// 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", .exact("12.1.0") ) ], targets: [ .binaryTarget( name: "WebIdIosBankIdentPlugin", url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdIosBankIdentPlugin/10.2.1/WebIdIosBankIdentPlugin.framework-v10.2.1.zip", checksum: "56da913867e67c231f0b781cf03b7b5f2c83dd59fe371df9976ce2d67062d85d" ), .target( name: "WebIdIosBankIdentPluginWrapper", dependencies: [ .target(name: "WebIdIosBankIdentPlugin"), // [target dependecies here] .product(name: "XS2AiOS", package: "XS2AiOS"), .product(name: "WebIdPluginCore", package: "WebIdPluginCore"), ] ) ], swiftLanguageVersions: [SwiftVersion.v5] )