6
0
2025-01-09 13:50:23 +01:00

53 lines
2.4 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: "WebIdAutoIdentOnDeviceProductPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdAutoIdentOnDeviceProductPlugin", targets: ["WebIdAutoIdentOnDeviceProductPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm",
.branch("redesign-v4-snapshots")
),
.package(
name: "WebIdIosIdentScanPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-ident-scan-plugin-spm",
.branch("redesign-v4-snapshots")
),
.package(
name: "WebIdOnDeviceDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-on-device-document-scanner-spm",
.branch("redesign-v4-snapshots")
)
],
targets: [
.binaryTarget(
name: "WebIdAutoIdentOnDeviceProductPlugin",
url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4-snapshots/de/webid-solutions/WebIdAutoIdentOnDeviceProductPlugin/14.3.0/WebIdAutoIdentOnDeviceProductPlugin.framework-v14.3.0-SNAPSHOT-1259.zip",
checksum: "20e1c591130f1ffb5e7e6983390825fae1e175e4ecd4f27d5e09793f6547e6ba"
),
.target(
name: "WebIdAutoIdentOnDeviceProductPluginWrapper",
dependencies: [
.target(name: "WebIdAutoIdentOnDeviceProductPlugin"),
// [target dependecies here]
.product(name: "WebIdDigitalSigningPlugin", package: "WebIdDigitalSigningPlugin"),
.product(name: "WebIdIosIdentScanPlugin", package: "WebIdIosIdentScanPlugin"),
.product(name: "WebIdOnDeviceDocumentScanner", package: "WebIdOnDeviceDocumentScanner"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)