2025-09-02 17:16:38 +02:00

65 lines
2.8 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: "WebIdAccountIdProductPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdAccountIdProductPlugin", targets: ["WebIdAccountIdProductPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdOnServerDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-on-server-document-scanner-spm",
.exact("20.2.1")
),
.package(
name: "WebIdDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-document-scanner-spm.git",
.exact("20.2.1")
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-ident-scan-plugin-spm",
.exact("20.2.1")
),
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm",
.exact("20.2.1")
),
.package(
name: "WebIdIosBankIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-bank-ident-plugin-spm",
.exact("20.2.1")
)
],
targets: [
.binaryTarget(
name: "WebIdAccountIdProductPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/releases/de/webid-solutions/WebIdAccountIdProductPlugin/21.0.3/WebIdAccountIdProductPlugin.framework-v21.0.3.zip",
checksum: "79fb21721f98806fe1d00b8efa5ec38c04a2b47b7a6301e7cc7a42105bac9da7"
),
.target(
name: "WebIdAccountIdProductPluginWrapper",
dependencies: [
.target(name: "WebIdAccountIdProductPlugin"),
// [target dependecies here]
.product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"),
.product(name: "WebIdDocumentScanner", package: "WebIdDocumentScanner"),
.product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"),
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
.product(name: "WebIdIosBankIdentPlugin", package: "WebIdIosBankIdentPlugin"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)