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-04-23 18:07:03 +02:00
.upToNextMinor(from: "21.2.0")
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-04-23 18:07:03 +02:00
.exact("1.1.0")
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-04-24 13:09:23 +02:00
.exact("22.1.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-04-24 13:09:23 +02:00
.exact("22.1.1")
2026-03-13 16:46:42 +01:00
)
],
targets: [
.binaryTarget(
name: "WebIdEPassProductPlugin",
2026-04-24 13:09:23 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdEPassProductPlugin/22.4.1/WebIdEPassProductPlugin.framework-v22.4.1-SNAPSHOT-1693.zip",
checksum: "8548a6959ee4791f64e881a2bf689d3ff56fd971ab25a9d77cf9e24bae37d17c"
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]
)