diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..5b6e011 --- /dev/null +++ b/Package.swift @@ -0,0 +1,64 @@ +// 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: "WebIdAccountIdProductPlugin", + platforms: [ + .iOS(.v13) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library(name: "WebIdAccountIdProductPlugin", targets: ["WebIdAccountIdProductPluginWrapper"]), + ], + 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: "WebIdDocumentScanner", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-document-scanner-spm.git", + .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: "WebIdDigitalSigningPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm", + .exact("20.2.0") + ), + .package( + name: "WebIdIosBankIdentPlugin", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-bank-ident-plugin-spm", + .exact("20.2.0") + ) + ], + targets: [ + .binaryTarget( + name: "WebIdAccountIdProductPlugin", + url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdAccountIdProductPlugin/21.0.0/WebIdAccountIdProductPlugin.framework-v21.0.0.zip", + checksum: "4a88606211e036e8850aa2393395adef5fcc1e6451b382dd9bf102bd6509e208" + ), + .target( + name: "WebIdAccountIdProductPluginWrapper", + dependencies: [ + .target(name: "WebIdAccountIdProductPlugin"), + // [target dependecies here] + + .product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"), + .product(name: "WebIdDocumentScanner", package: "WebIdDocumentScanner"), + .product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"), + .product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"), + .product(name: "WebIdIosBankIdentPlugin", package: "WebIdIosBankIdentPlugin"), + ] + ) + ], + swiftLanguageVersions: [SwiftVersion.v5] +) diff --git a/Sources/WebIdAccountIdProductPluginWrapper/Dummy.swift b/Sources/WebIdAccountIdProductPluginWrapper/Dummy.swift new file mode 100644 index 0000000..7dc7342 --- /dev/null +++ b/Sources/WebIdAccountIdProductPluginWrapper/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. +//