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