diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..5800c11 --- /dev/null +++ b/Package.swift @@ -0,0 +1,52 @@ +// 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: "WebIdAutoIdentOnDeviceProductPlugin", + platforms: [ + .iOS(.v13) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library(name: "WebIdAutoIdentOnDeviceProductPlugin", targets: ["WebIdAutoIdentOnDeviceProductPluginWrapper"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + .package( + name: "WebIdDigitalSigningPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm", + .exact("10.0.0") + ), + .package( + name: "WebIdIosIdentScanPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm", + .exact("11.0.0") + ), + .package( + name: "WebIdOnDeviceDocumentScanner", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-device-document-scanner-spm", + .exact("11.0.0") + ) + ], + targets: [ + .binaryTarget( + name: "WebIdAutoIdentOnDeviceProductPlugin", + url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdAutoIdentOnDeviceProductPlugin/12.0.0/WebIdAutoIdentOnDeviceProductPlugin.framework-v12.0.0.zip", + checksum: "e7280832f38efc37a8a46f90f5296da88e10ef78c5507f6f67648c457b08dd36" + ), + .target( + name: "WebIdAutoIdentOnDeviceProductPluginWrapper", + dependencies: [ + .target(name: "WebIdAutoIdentOnDeviceProductPlugin"), + // [target dependecies here] + + .product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"), + .product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"), + .product(name: "WebIdOnDeviceDocumentScanner", package: "WebIdOnDeviceDocumentScanner"), + ] + ) + ], + swiftLanguageVersions: [SwiftVersion.v5] +) diff --git a/Sources/WebIdAutoIdentOnDeviceProductPluginWrapper/Dummy.swift b/Sources/WebIdAutoIdentOnDeviceProductPluginWrapper/Dummy.swift new file mode 100644 index 0000000..7dc7342 --- /dev/null +++ b/Sources/WebIdAutoIdentOnDeviceProductPluginWrapper/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. +//