2026-03-25 16:20:21 +01:00

59 lines
2.5 KiB
Swift

// 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",
.branch("snapshots")
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
.branch("snapshots")
),
.package(
name: "WebIdOnServerDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-server-document-scanner-spm",
.branch("snapshots")
)
],
targets: [
.binaryTarget(
name: "WebIdEPassProductPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdEPassProductPlugin/22.2.4/WebIdEPassProductPlugin.framework-v22.2.4-SNAPSHOT-1656.zip",
checksum: "2a27e511c6850420a9e1e364a5da78535909fc6e8d9330fe5b86942e8b2028a5"
),
.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]
)