2024-03-18 15:07:48 +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-07-12 11:48:28 +02:00
|
|
|
.upToNextMinor(from: "11.0.0")
|
2024-03-18 15:07:48 +01:00
|
|
|
),
|
|
|
|
.package(
|
|
|
|
name: "WebIdUiKitComponents",
|
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-ui-components-spm.git",
|
2024-06-19 15:37:03 +02:00
|
|
|
.upToNextMinor(from: "7.0.0")
|
2024-03-18 15:07:48 +01:00
|
|
|
)
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.binaryTarget(
|
|
|
|
name: "WebIdSdkUiKitComponents",
|
2024-07-23 11:10:15 +02:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdSdkUiKitComponents/9.1.1/WebIdSdkUiKitComponents.framework-v9.1.1.zip",
|
|
|
|
checksum: "92afe32ab5f5e94567ddfad261d85a23447dd4c8b3b81f40bd88a37d69f34206"
|
2024-03-18 15:07:48 +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]
|
|
|
|
)
|