diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..c2b355c --- /dev/null +++ b/Package.swift @@ -0,0 +1,58 @@ +// 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: "WebIdEIdProductPlugin", + platforms: [ + .iOS(.v13) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library(name: "WebIdEIdProductPlugin", targets: ["WebIdEIdProductPluginWrapper"]), + ], + 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", + .exact("20.2.0") + ), + .package( + name: "WebIdIosIdentScanPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-ident-scan-plugin-spm", + .exact("20.2.0") + ), + .package( + name: "WebIdEIdentPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-eident-plugin-spm", + .exact("20.2.0") + ), + .package( + name: "WebIdDigitalSigningPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm", + .exact("20.2.0") + ) + ], + targets: [ + .binaryTarget( + name: "WebIdEIdProductPlugin", + url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdEIdProductPlugin/21.0.0/WebIdEIdProductPlugin.framework-v21.0.0.zip", + checksum: "718aa8a9e80b34a16ab9b480b4156663128b80322ab1ee3bdcd4d64a19dcfa47" + ), + .target( + name: "WebIdEIdProductPluginWrapper", + dependencies: [ + .target(name: "WebIdEIdProductPlugin"), + // [target dependecies here] + + .product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"), + .product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"), + .product(name: "WebIdEIdentPlugin", package: "WebIdEIdentPlugin"), + .product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"), + ] + ) + ], + swiftLanguageVersions: [SwiftVersion.v5] +) diff --git a/Sources/WebIdEIdProductPluginWrapper/Dummy.swift b/Sources/WebIdEIdProductPluginWrapper/Dummy.swift new file mode 100644 index 0000000..7dc7342 --- /dev/null +++ b/Sources/WebIdEIdProductPluginWrapper/Dummy.swift @@ -0,0 +1,4 @@ +// +// Created by WebID Solutions GmbH | www.webid-solutions.de. +// See the file "LICENSE" for the full license governing this code. +//