65 lines
2.8 KiB
Swift
Raw Normal View History

2025-09-18 16:14:58 +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 14:04:05 +02:00
.exact("20.3.4")
2025-09-18 16:14:58 +02:00
),
.package(
name: "WebIdDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-document-scanner-spm.git",
2025-10-08 14:04:05 +02:00
.exact("20.3.4")
2025-09-18 16:14:58 +02:00
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
2025-10-08 14:04:05 +02:00
.exact("20.3.4")
2025-09-18 16:14:58 +02:00
),
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
2025-10-02 14:29:10 +02:00
.exact("20.3.1")
2025-09-18 16:14:58 +02:00
),
.package(
name: "WebIdIosBankIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-bank-ident-plugin-spm",
2025-10-02 14:29:10 +02:00
.exact("20.3.0")
2025-09-18 16:14:58 +02:00
)
],
targets: [
.binaryTarget(
name: "WebIdAccountIdProductPlugin",
2025-10-09 15:00:00 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdAccountIdProductPlugin/21.0.4/WebIdAccountIdProductPlugin.framework-v21.0.4-SNAPSHOT-1533.zip",
checksum: "2921f7d5cfb8d280280218a9c08d3a241c727b6d62f45f2a2bd9df43a94ad994"
2025-09-18 16:14:58 +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]
)