diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..3b8bab6 --- /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: "WebIdDigitalSigningPlugin", + platforms: [ + .iOS(.v13) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library(name: "WebIdDigitalSigningPlugin", targets: ["WebIdDigitalSigningPluginWrapper"]), + ], + 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", + .upToNextMinor(from: "13.0.0") + ), + .package( + name: "WebIdSdkUiKitComponents", + url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-sdk-ui-components-spm.git", + .exact("10.0.0-beta") + ) + ], + targets: [ + .binaryTarget( + name: "WebIdDigitalSigningPlugin", + url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4/de/webid-solutions/WebIdDigitalSigningPlugin/12.0.0/WebIdDigitalSigningPlugin.framework-v12.0.0-beta.zip", + checksum: "c475f548ee74ba8b8386f7188db7262e6ccc5c739bdffc7f050c05634421b507" + ), + .target( + name: "WebIdDigitalSigningPluginWrapper", + dependencies: [ + .target(name: "WebIdDigitalSigningPlugin"), + // [target dependecies here] + + .product(name: "WebIdPluginCore", package: "WebIdPluginCore"), + .product(name: "WebIdSdkUiKitComponents", package: "WebIdSdkUiKitComponents"), + ] + ) + ], + swiftLanguageVersions: [SwiftVersion.v5] +) diff --git a/Sources/WebIdDigitalSigningPluginWrapper/Dummy.swift b/Sources/WebIdDigitalSigningPluginWrapper/Dummy.swift new file mode 100644 index 0000000..7dc7342 --- /dev/null +++ b/Sources/WebIdDigitalSigningPluginWrapper/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. +//