diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..03ed694 --- /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: "WebIdVideoIdProductPlugin", + platforms: [ + .iOS(.v13) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library(name: "WebIdVideoIdProductPlugin", targets: ["WebIdVideoIdProductPluginWrapper"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + .package( + name: "WebIdIosIdentScanPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-ident-scan-plugin-spm", + .branch("redesign-v4-snapshots") + ), + .package( + name: "WebIdOnServerDocumentScanner", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-on-server-document-scanner-spm", + .branch("redesign-v4-snapshots") + ), + .package( + name: "WebIdDigitalSigningPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm", + .branch("redesign-v4-snapshots") + ), + .package( + name: "WebIdVideoIdentPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-video-ident-plugin-spm", + .branch("redesign-v4-snapshots") + ) + ], + targets: [ + .binaryTarget( + name: "WebIdVideoIdProductPlugin", + url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdVideoIdProductPlugin/20.1.2/WebIdVideoIdProductPlugin.framework-v20.1.2-SNAPSHOT-1466.zip", + checksum: "4d7caf045a0444ed8a4d940ecf2248f176376f7c477f4809df3aaffd5aba6dfe" + ), + .target( + name: "WebIdVideoIdProductPluginWrapper", + dependencies: [ + .target(name: "WebIdVideoIdProductPlugin"), + // [target dependecies here] + + .product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"), + .product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"), + .product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"), + .product(name: "WebIdVideoIdentPlugin", package: "WebIdVideoIdentPlugin"), + ] + ) + ], + swiftLanguageVersions: [SwiftVersion.v5] +) diff --git a/Sources/WebIdVideoIdProductPluginWrapper/Dummy.swift b/Sources/WebIdVideoIdProductPluginWrapper/Dummy.swift new file mode 100644 index 0000000..7dc7342 --- /dev/null +++ b/Sources/WebIdVideoIdProductPluginWrapper/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. +//