65 lines
2.9 KiB
Swift
Raw Normal View History

2025-08-13 18:47:59 +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: "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.git",
.branch("redesign-v4-snapshots")
),
.package(
name: "WebIdDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-document-scanner-spm.git",
.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: "WebIdDigitalSigningPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-digital-signing-plugin-spm.git",
.branch("redesign-v4-snapshots")
),
.package(
name: "WebIdIosBankIdentPlugin",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-bank-ident-plugin-spm",
.branch("redesign-v4-snapshots")
)
],
targets: [
.binaryTarget(
name: "WebIdAccountIdProductPlugin",
2025-08-15 08:39:16 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdAccountIdProductPlugin/20.1.2/WebIdAccountIdProductPlugin.framework-v20.1.2-SNAPSHOT-1471.zip",
checksum: "7bdb75c4941523d9e50989125b848e678bb500a844a5f0d515a4a8811fb44243"
2025-08-13 18:47:59 +02:00
),
.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]
)