59 lines
2.6 KiB
Swift
59 lines
2.6 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: "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/SwiftPackageRedesignV4/webid-digital-signing-plugin-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: "WebIdDocumentScanner",
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-document-scanner-spm.git",
|
|
.branch("redesign-v4-snapshots")
|
|
),
|
|
.package(
|
|
name: "WebIdOnServerDocumentScanner",
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-on-server-document-scanner-spm.git",
|
|
.branch("redesign-v4-snapshots")
|
|
)
|
|
],
|
|
targets: [
|
|
.binaryTarget(
|
|
name: "WebIdAutoIdProductPlugin",
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdAutoIdProductPlugin/20.1.2/WebIdAutoIdProductPlugin.framework-v20.1.2-SNAPSHOT-1477.zip",
|
|
checksum: "e72f0835ba3f96750f1e477bb2e6c5897eb3ed61d1059c6aca80e2e24bd3fb81"
|
|
),
|
|
.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]
|
|
)
|