From a6d4b2804e3fead55d5b54a8a41f289fa6474162 Mon Sep 17 00:00:00 2001 From: mac-mini-003 Date: Wed, 20 Mar 2024 14:28:01 +0100 Subject: [PATCH] add new version 4.0.0 --- Package.swift | 46 ++++++++++++++++++++ Sources/WebIdEIdentPluginWrapper/Dummy.swift | 4 ++ 2 files changed, 50 insertions(+) create mode 100644 Package.swift create mode 100644 Sources/WebIdEIdentPluginWrapper/Dummy.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..24666cb --- /dev/null +++ b/Package.swift @@ -0,0 +1,46 @@ +// 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", + .exact("10.0.0") + ), + .package( + name: "AusweisApp2", + url: "https://github.com/Governikus/AusweisApp2-SDK-iOS", + .exact("1.26.5") + ) + ], + targets: [ + .binaryTarget( + name: "WebIdEIdentPlugin", + url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdEIdentPlugin/4.0.0/WebIdEIdentPlugin.framework-v4.0.0.zip", + checksum: "608383f809423dc0e31069ccd8c60d075c7e387590efeeb686f4852b6bcf3941" + ), + .target( + name: "WebIdEIdentPluginWrapper", + dependencies: [ + .target(name: "WebIdEIdentPlugin"), + // [target dependecies here] + + .product(name: "WebIdPluginCore", package: "WebIdPluginCore"), + .product(name: "AusweisApp2", package: "AusweisApp2"), + ] + ) + ], + swiftLanguageVersions: [SwiftVersion.v5] +) diff --git a/Sources/WebIdEIdentPluginWrapper/Dummy.swift b/Sources/WebIdEIdentPluginWrapper/Dummy.swift new file mode 100644 index 0000000..7dc7342 --- /dev/null +++ b/Sources/WebIdEIdentPluginWrapper/Dummy.swift @@ -0,0 +1,4 @@ +// +// Created by WebID Solutions GmbH | www.webid-solutions.de. +// See the file "LICENSE" for the full license governing this code. +//