6
0

59 lines
2.5 KiB
Swift
Raw Normal View History

2024-09-10 09:37:50 +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: "WebIdEIdProductPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdEIdProductPlugin", targets: ["WebIdEIdProductPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdOnDeviceDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-on-device-document-scanner-spm",
2025-03-14 16:55:37 +01:00
.exact("13.3.2")
2024-09-10 09:37:50 +02:00
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-ident-scan-plugin-spm",
2025-03-14 16:55:37 +01:00
.exact("13.3.2")
2024-09-10 09:37:50 +02:00
),
.package(
name: "WebIdEIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-eident-plugin-spm",
2025-03-14 16:55:37 +01:00
.exact("6.3.1")
2024-09-10 09:37:50 +02:00
),
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm",
2025-03-14 16:55:37 +01:00
.exact("12.2.1")
2024-09-10 09:37:50 +02:00
)
],
targets: [
.binaryTarget(
name: "WebIdEIdProductPlugin",
2025-03-17 18:05:57 +01:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4/de/webid-solutions/WebIdEIdProductPlugin/14.4.1/WebIdEIdProductPlugin.framework-v14.4.1.zip",
checksum: "ee303c13bffed9f6351e2a322047ab2d10348d254c4e71b6d38cd27363fbb08a"
2024-09-10 09:37:50 +02:00
),
.target(
name: "WebIdEIdProductPluginWrapper",
dependencies: [
.target(name: "WebIdEIdProductPlugin"),
// [target dependecies here]
.product(name: "WebIdOnDeviceDocumentScanner", package: "WebIdOnDeviceDocumentScanner"),
.product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"),
.product(name: "WebIdEIdentPlugin", package: "WebIdEIdentPlugin"),
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)