6
0

47 lines
1.8 KiB
Swift
Raw Normal View History

2024-03-08 09:01:28 +01: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: "WebIdIosIdentScanPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdIosIdentScanPlugin", targets: ["WebIdIosIdentScanPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdDocumentScanner",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-document-scanner-spm.git",
.branch("snapshots")
),
.package(
name: "WebIdPluginCore",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-plugin-core-spm.git",
2024-07-25 11:30:46 +02:00
.exact("12.0.0")
2024-03-08 09:01:28 +01:00
)
],
targets: [
.binaryTarget(
name: "WebIdIosIdentScanPlugin",
2024-08-05 10:59:54 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdIosIdentScanPlugin/12.0.1/WebIdIosIdentScanPlugin.framework-v12.0.1-SNAPSHOT-1302.zip",
checksum: "ffc846476f6d40544bdb3752afa532bd230fe155284139184ddd1ffecc38211e"
2024-03-08 09:01:28 +01:00
),
.target(
name: "WebIdIosIdentScanPluginWrapper",
dependencies: [
.target(name: "WebIdIosIdentScanPlugin"),
// [target dependecies here]
.product(name: "WebIdDocumentScanner", package: "WebIdDocumentScanner"),
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)