2024-03-07 12:03:29 +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: "WebIdSdkUiKitComponents",
|
|
|
|
platforms: [
|
|
|
|
.iOS(.v13)
|
|
|
|
],
|
|
|
|
products: [
|
|
|
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
|
|
|
.library(name: "WebIdSdkUiKitComponents", targets: ["WebIdSdkUiKitComponentsWrapper"]),
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
// Dependencies declare other packages that this package depends on.
|
|
|
|
.package(
|
|
|
|
name: "WebIdIosSdk",
|
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-spm.git",
|
2024-05-21 18:37:53 +02:00
|
|
|
.exact("10.0.0")
|
2024-03-07 12:03:29 +01:00
|
|
|
),
|
|
|
|
.package(
|
|
|
|
name: "WebIdUiKitComponents",
|
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ui-components-spm.git",
|
2024-05-21 18:37:53 +02:00
|
|
|
.exact("7.0.0")
|
2024-03-07 12:03:29 +01:00
|
|
|
)
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.binaryTarget(
|
|
|
|
name: "WebIdSdkUiKitComponents",
|
2024-05-22 09:42:53 +02:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/snapshots/de/webid-solutions/WebIdSdkUiKitComponents/8.0.1/WebIdSdkUiKitComponents.framework-v8.0.1-SNAPSHOT-138.zip",
|
|
|
|
checksum: "8dac65f6de2edc12c9ceaafef9695f1a27f7797549af333850cb8a7d9a336ce5"
|
2024-03-07 12:03:29 +01:00
|
|
|
),
|
|
|
|
.target(
|
|
|
|
name: "WebIdSdkUiKitComponentsWrapper",
|
|
|
|
dependencies: [
|
|
|
|
.target(name: "WebIdSdkUiKitComponents"),
|
|
|
|
// [target dependecies here]
|
|
|
|
|
|
|
|
.product(name: "WebIdIosSdk", package: "WebIdIosSdk"),
|
|
|
|
.product(name: "WebIdUiKitComponents", package: "WebIdUiKitComponents"),
|
|
|
|
]
|
|
|
|
)
|
|
|
|
],
|
|
|
|
swiftLanguageVersions: [SwiftVersion.v5]
|
|
|
|
)
|