diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..eb8157b --- /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: "WebIdOnDeviceDocumentScanner", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-on-device-document-scanner-spm", + .exact("13.0.0-beta") + ), + .package( + name: "WebIdIosIdentScanPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-ident-scan-plugin-spm", + .exact("13.0.0-beta") + ), + .package( + name: "WebIdEIdentPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-eident-plugin-spm", + .exact("6.0.0-beta") + ), + .package( + name: "WebIdDigitalSigningPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm", + .exact("12.0.0-beta") + ) + ], + targets: [ + .binaryTarget( + name: "WebIdEIdProductPlugin", + url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4/de/webid-solutions/WebIdEIdProductPlugin/14.0.0/WebIdEIdProductPlugin.framework-v14.0.0-beta.zip", + checksum: "1bcdebd18f61c100b8df02df59d06412c0899cdd3a15dfbeeeab9e9adf55b657" + ), + .target( + name: "WebIdEIdProductPluginWrapper", + dependencies: [ + .target(name: "WebIdEIdProductPlugin"), + // [target dependecies here] + + .product(name: "WebIdOnDeviceDocumentScanner", package: "WebIdOnDeviceDocumentScanner"), + .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. +//