// 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: "WebIdDigitalSigningPlugin", platforms: [ .iOS(.v13) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library(name: "WebIdDigitalSigningPlugin", targets: ["WebIdDigitalSigningPluginWrapper"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. .package( name: "WebIdPluginCore", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git", .exact("11.0.0") ), .package( name: "WebIdSdkUiKitComponents", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-ui-components-spm.git", .exact("8.0.0") ) ], targets: [ .binaryTarget( name: "WebIdDigitalSigningPlugin", url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdDigitalSigningPlugin/11.0.1/WebIdDigitalSigningPlugin.framework-v11.0.1-SNAPSHOT-762.zip", checksum: "28b70a71c24c1cb2a7d6ebc61a69460f7f90612408b95ac0b10de2dfbb712dc0" ), .target( name: "WebIdDigitalSigningPluginWrapper", dependencies: [ .target(name: "WebIdDigitalSigningPlugin"), // [target dependecies here] .product(name: "WebIdPluginCore", package: "WebIdPluginCore"), .product(name: "WebIdSdkUiKitComponents", package: "WebIdSdkUiKitComponents"), ] ) ], swiftLanguageVersions: [SwiftVersion.v5] )