65 lines
2.8 KiB
Swift
Raw Normal View History

2025-09-18 16:32:51 +02:00
// 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",
2025-10-08 15:20:10 +02:00
.exact("20.3.4")
2025-09-18 16:32:51 +02:00
),
.package(
name: "WebIdDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-document-scanner-spm.git",
2025-10-08 15:20:10 +02:00
.exact("20.3.4")
2025-09-18 16:32:51 +02:00
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
2025-10-08 15:20:10 +02:00
.exact("20.3.4")
2025-09-18 16:32:51 +02:00
),
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
2025-10-08 15:20:10 +02:00
.exact("20.3.1")
2025-09-18 16:32:51 +02:00
),
.package(
name: "WebIdIosBankIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-bank-ident-plugin-spm",
2025-10-08 15:20:10 +02:00
.exact("20.3.0")
2025-09-18 16:32:51 +02:00
)
],
targets: [
.binaryTarget(
name: "WebIdAccountIdProductPlugin",
2025-10-08 15:20:10 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdAccountIdProductPlugin/21.1.0/WebIdAccountIdProductPlugin.framework-v21.1.0.zip",
checksum: "4479335d7a7f90adf2d79b32cea0f8a5c2b3b9f37ca5e9f3c84eda9074930158"
2025-09-18 16:32:51 +02:00
),
.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]
)