2026-06-22 19:40:25 +02:00

65 lines
2.8 KiB
Swift

// 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/SwiftPackages/webid-on-server-document-scanner-spm",
.branch("snapshots")
),
.package(
name: "WebIdDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-document-scanner-spm.git",
.branch("snapshots")
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
.branch("snapshots")
),
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
.branch("snapshots")
),
.package(
name: "WebIdIosBankIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-bank-ident-plugin-spm",
.branch("snapshots")
)
],
targets: [
.binaryTarget(
name: "WebIdAccountIdProductPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdAccountIdProductPlugin/22.5.5/WebIdAccountIdProductPlugin.framework-v22.5.5-SNAPSHOT-1733.zip",
checksum: "866bddaadc221ae0815bef9c5b24e0ec28b3cb4f3901234f2a8d0b5049864cac"
),
.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]
)