// 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: "WebIdPluginCore", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-plugin-core-spm.git", .branch("redesign-v4-snapshots") ), .package( name: "XS2AiOS", url: "https://github.com/FinTecSystems/xs2a-ios", .exact("2.1.0") ) ], targets: [ .binaryTarget( name: "WebIdIosBankIdentPlugin", url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4-snapshots/de/webid-solutions/WebIdIosBankIdentPlugin/11.3.0/WebIdIosBankIdentPlugin.framework-v11.3.0-SNAPSHOT-351.zip", checksum: "c85eadbe7a3834d3459e7664275329df16b6855b69df3a66f8c2dffb39144458" ), .target( name: "WebIdIosBankIdentPluginWrapper", dependencies: [ .target(name: "WebIdIosBankIdentPlugin"), // [target dependecies here] .product(name: "WebIdPluginCore", package: "WebIdPluginCore"), .product(name: "XS2AiOS", package: "XS2AiOS"), ] ) ], swiftLanguageVersions: [SwiftVersion.v5] )