2024-03-08 09:30:51 +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: "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/SwiftPackages/webid-plugin-core-spm.git",
|
2024-06-13 10:14:57 +02:00
|
|
|
.branch("snapshots")
|
2024-03-08 09:30:51 +01:00
|
|
|
),
|
|
|
|
.package(
|
|
|
|
name: "AusweisApp2",
|
|
|
|
url: "https://github.com/Governikus/AusweisApp2-SDK-iOS",
|
|
|
|
.exact("1.26.5")
|
|
|
|
)
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.binaryTarget(
|
|
|
|
name: "WebIdEIdentPlugin",
|
2024-06-13 10:14:57 +02:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdEIdentPlugin/5.0.1/WebIdEIdentPlugin.framework-v5.0.1-SNAPSHOT-372.zip",
|
2024-06-18 09:50:19 +02:00
|
|
|
checksum: "79ad8205024d71c2b0cd85a4074a2adfab82ff2557ba87926c57a8d23eef31bb"
|
2024-03-08 09:30:51 +01:00
|
|
|
),
|
|
|
|
.target(
|
|
|
|
name: "WebIdEIdentPluginWrapper",
|
|
|
|
dependencies: [
|
|
|
|
.target(name: "WebIdEIdentPlugin"),
|
|
|
|
// [target dependecies here]
|
|
|
|
|
|
|
|
.product(name: "WebIdPluginCore", package: "WebIdPluginCore"),
|
|
|
|
.product(name: "AusweisApp2", package: "AusweisApp2"),
|
|
|
|
]
|
|
|
|
)
|
|
|
|
],
|
|
|
|
swiftLanguageVersions: [SwiftVersion.v5]
|
|
|
|
)
|