6
0
webid-eident-plugin-spm/Package.swift

47 lines
1.7 KiB
Swift
Raw Normal View History

2024-09-09 09:35:52 +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: "WebIdEIdentPlugin",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(name: "WebIdEIdentPlugin", targets: ["WebIdEIdentPluginWrapper"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "WebIdPluginCore",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-plugin-core-spm.git",
2024-12-12 17:08:09 +01:00
.branch("redesign-v4-snapshots")
2024-09-09 09:35:52 +02:00
),
.package(
name: "AusweisApp2",
url: "https://github.com/Governikus/AusweisApp2-SDK-iOS",
.exact("1.26.5")
)
],
targets: [
.binaryTarget(
name: "WebIdEIdentPlugin",
2024-12-12 17:08:09 +01:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4-snapshots/de/webid-solutions/WebIdEIdentPlugin/6.3.0/WebIdEIdentPlugin.framework-v6.3.0-SNAPSHOT-392.zip",
checksum: "e564c3fec500f9c941a1a5e2a2864b7d2f577b271d889e8b060e883e98bcf4ca"
2024-09-09 09:35:52 +02:00
),
.target(
name: "WebIdEIdentPluginWrapper",
dependencies: [
.target(name: "WebIdEIdentPlugin"),
// [target dependecies here]
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
.product(name: "AusweisApp2", package: "AusweisApp2"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)