59 lines
2.5 KiB
Swift
Raw Normal View History

2025-09-18 16:15:18 +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",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-digital-signing-plugin-spm",
2025-10-09 21:49:57 +02:00
.branch("snapshots")
2025-09-18 16:15:18 +02:00
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ident-scan-plugin-spm",
2025-10-09 21:49:57 +02:00
.branch("snapshots")
2025-09-18 16:15:18 +02:00
),
.package(
name: "WebIdDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-document-scanner-spm.git",
2025-10-09 21:49:57 +02:00
.branch("snapshots")
2025-09-18 16:15:18 +02:00
),
.package(
name: "WebIdOnServerDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-on-server-document-scanner-spm",
2025-10-09 21:49:57 +02:00
.branch("snapshots")
2025-09-18 16:15:18 +02:00
)
],
targets: [
.binaryTarget(
name: "WebIdAutoIdProductPlugin",
2025-10-24 11:19:43 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdAutoIdProductPlugin/21.1.2/WebIdAutoIdProductPlugin.framework-v21.1.2-SNAPSHOT-1536.zip",
checksum: "1c5cde997e7adabd95a5bbaf39be96c4399457621871187b5acf0931959bd6bb"
2025-09-18 16:15:18 +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]
)