59 lines
2.4 KiB
Swift
Raw Normal View History

2026-03-13 17:01:46 +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-31 13:46:05 +02:00
.upToNextMinor(from: "21.1.0")
2026-03-13 17:01:46 +01:00
),
.package(
name: "WebIdEPassPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-epass-plugin-spm.git",
2026-03-31 13:46:05 +02:00
.exact("1.0.2")
2026-03-13 17:01:46 +01:00
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
2026-04-02 14:46:31 +02:00
.exact("22.0.1")
2026-03-13 17:01:46 +01:00
),
.package(
name: "WebIdOnServerDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-server-document-scanner-spm",
2026-04-02 14:46:31 +02:00
.exact("22.0.1")
2026-03-13 17:01:46 +01:00
)
],
targets: [
.binaryTarget(
name: "WebIdEPassProductPlugin",
2026-04-02 14:46:31 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdEPassProductPlugin/22.3.3/WebIdEPassProductPlugin.framework-v22.3.3.zip",
checksum: "c4abac988e971b80bee816fafbfed44c4b949a440f832176e1577a66622f4bb5"
2026-03-13 17:01:46 +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]
)