// 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: "WebIdMetaPlugin", platforms: [ .iOS(.v13) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library(name: "WebIdMetaPlugin", targets: ["WebIdMetaPluginWrapper"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. .package( name: "WebIdDigitalSigningPlugin", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm", .exact("21.0.4") ) ], targets: [ .binaryTarget( name: "WebIdMetaPlugin", url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdMetaPlugin/22.2.2/WebIdMetaPlugin.framework-v22.2.2.zip", checksum: "66a5c20f1bf70b20b3f8f831292935771add2047d4b883264ac20ed5d66cd27b" ), .target( name: "WebIdMetaPluginWrapper", dependencies: [ .target(name: "WebIdMetaPlugin"), // [target dependecies here] .product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"), ] ) ], swiftLanguageVersions: [SwiftVersion.v5] )