59 lines
2.5 KiB
Swift
Raw Permalink Normal View History

2025-08-13 18:48:02 +02: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: "WebIdAutoIdProductPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdAutoIdProductPlugin", targets: ["WebIdAutoIdProductPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdDigitalSigningPlugin",
2025-08-27 11:58:16 +02:00
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm",
2025-09-02 17:20:10 +02:00
.exact("20.2.1")
2025-08-13 18:48:02 +02:00
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-ident-scan-plugin-spm",
2025-09-02 17:20:10 +02:00
.exact("20.2.1")
2025-08-13 18:48:02 +02:00
),
.package(
name: "WebIdDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-document-scanner-spm.git",
2025-09-02 17:20:10 +02:00
.exact("20.2.1")
2025-08-13 18:48:02 +02:00
),
.package(
name: "WebIdOnServerDocumentScanner",
2025-08-27 11:58:16 +02:00
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-on-server-document-scanner-spm",
2025-09-02 17:20:10 +02:00
.exact("20.2.1")
2025-08-13 18:48:02 +02:00
)
],
targets: [
.binaryTarget(
name: "WebIdAutoIdProductPlugin",
2025-09-02 17:20:10 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdAutoIdProductPlugin/21.0.3/WebIdAutoIdProductPlugin.framework-v21.0.3-SNAPSHOT-1500.zip",
checksum: "cb11fca8bff8dcce6d10f6b96af07dff9fdcab4eaee146bbb03b09353930e3a2"
2025-08-13 18:48:02 +02:00
),
.target(
name: "WebIdAutoIdProductPluginWrapper",
dependencies: [
.target(name: "WebIdAutoIdProductPlugin"),
// [target dependecies here]
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
.product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"),
.product(name: "WebIdDocumentScanner", package: "WebIdDocumentScanner"),
.product(name: "WebIdOnServerDocumentScanner", package: "WebIdOnServerDocumentScanner"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)