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",
.upToNextMinor(from: "21.0.3")
),
.package(
name: "WebIdEPassPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-epass-plugin-spm.git",
.exact("1.0.1")
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
.exact("21.2.1")
),
.package(
name: "WebIdOnServerDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-server-document-scanner-spm",
.exact("21.2.1")
)
],
targets: [
.binaryTarget(
name: "WebIdEPassProductPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdEPassProductPlugin/22.2.2/WebIdEPassProductPlugin.framework-v22.2.2.zip",
checksum: "e43449f30d8640ef991af5b17cee1278e7e58ca08869cefea0f38e5120340e73"
),
.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]
)