// 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: "WebIdAccountIdProductPlugin", platforms: [ .iOS(.v13) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library(name: "WebIdAccountIdProductPlugin", targets: ["WebIdAccountIdProductPluginWrapper"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. .package( name: "WebIdOnServerDocumentScanner", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-on-server-document-scanner-spm.git", .branch("redesign-v4-snapshots") ), .package( name: "WebIdDocumentScanner", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-document-scanner-spm.git", .branch("redesign-v4-snapshots") ), .package( name: "WebIdIosIdentScanPlugin", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-ident-scan-plugin-spm", .branch("redesign-v4-snapshots") ), .package( name: "WebIdDigitalSigningPlugin", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm.git", .branch("redesign-v4-snapshots") ), .package( name: "WebIdIosBankIdentPlugin", url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-bank-ident-plugin-spm", .branch("redesign-v4-snapshots") ) ], targets: [ .binaryTarget( name: "WebIdAccountIdProductPlugin", url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdAccountIdProductPlugin/20.1.2/WebIdAccountIdProductPlugin.framework-v20.1.2-SNAPSHOT-1475.zip", checksum: "c424a3b75ad65caea1e99d84f6a27f15791ef87f08ccb08ce02532a0974a299d" ), .target( name: "WebIdAccountIdProductPluginWrapper", dependencies: [ .target(name: "WebIdAccountIdProductPlugin"), // [target dependecies here] .product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"), .product(name: "WebIdDocumentScanner", package: "WebIdDocumentScanner"), .product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"), .product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"), .product(name: "WebIdIosBankIdentPlugin", package: "WebIdIosBankIdentPlugin"), ] ) ], swiftLanguageVersions: [SwiftVersion.v5] )