59 lines
2.5 KiB
Swift
Raw Normal View History

2026-03-13 16:46:42 +01: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: "WebIdEPassProductPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdEPassProductPlugin", targets: ["WebIdEPassProductPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdSdkUiKitComponents",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-ui-components-spm.git",
2026-03-19 15:15:01 +01:00
.upToNextMinor(from: "21.0.3")
2026-03-13 16:46:42 +01:00
),
.package(
name: "WebIdEPassPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-epass-plugin-spm.git",
2026-03-27 16:05:51 +01:00
.exact("1.0.1")
2026-03-13 16:46:42 +01:00
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
2026-03-27 16:05:51 +01:00
.exact("21.2.1")
2026-03-13 16:46:42 +01:00
),
.package(
name: "WebIdOnServerDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-server-document-scanner-spm",
2026-03-27 16:05:51 +01:00
.exact("21.2.1")
2026-03-13 16:46:42 +01:00
)
],
targets: [
.binaryTarget(
name: "WebIdEPassProductPlugin",
2026-03-27 16:05:51 +01:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdEPassProductPlugin/22.2.4/WebIdEPassProductPlugin.framework-v22.2.4-SNAPSHOT-1657.zip",
checksum: "d9f6ac2d108f71da67d3d763b63c36ce973ceccf13aaf47057c90123c43c7c8d"
2026-03-13 16:46:42 +01:00
),
.target(
name: "WebIdEPassProductPluginWrapper",
dependencies: [
.target(name: "WebIdEPassProductPlugin"),
// [target dependecies here]
.product(name: "WebIdSdkUiKitComponents", package: "WebIdSdkUiKitComponents"),
.product(name: "WebIdEPassPlugin", package: "WebIdEPassPlugin"),
.product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"),
.product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)