// 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", .branch("snapshots") ), .package( name: "WebIdVideoIdentPlugin", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-video-ident-plugin-spm", .branch("snapshots") ) ], targets: [ .binaryTarget( name: "WebIdMetaPlugin", url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdMetaPlugin/12.0.0/WebIdMetaPlugin.framework-v12.0.0-SNAPSHOT-1104.zip", checksum: "19aada651a4b01af127f3cf97d27eb6c23c956d0877820b96ef5fc916f853cba" ), .target( name: "WebIdMetaPluginWrapper", dependencies: [ .target(name: "WebIdMetaPlugin"), // [target dependecies here] .product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"), .product(name: "WebIdVideoIdentPlugin", package: "WebIdVideoIdentPlugin"), ] ) ], swiftLanguageVersions: [SwiftVersion.v5] )