2024-09-06 11:37:25 +02: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: "WebIdPluginCore",
|
|
|
|
platforms: [
|
|
|
|
.iOS(.v13)
|
|
|
|
],
|
|
|
|
products: [
|
|
|
|
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
|
|
|
.library(name: "WebIdPluginCore", targets: ["WebIdPluginCoreWrapper"]),
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
// Dependencies declare other packages that this package depends on.
|
|
|
|
.package(
|
|
|
|
name: "WebIdUiKitComponents",
|
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackageRedesignV4/webid-ui-components-spm.git",
|
2025-08-08 14:39:03 +02:00
|
|
|
.branch("experimental")
|
2024-09-06 11:37:25 +02:00
|
|
|
),
|
|
|
|
.package(
|
|
|
|
name: "WebIdIosSdk",
|
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-spm.git",
|
2025-03-17 12:24:31 +01:00
|
|
|
.branch("snapshots")
|
2024-09-06 11:37:25 +02:00
|
|
|
)
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.binaryTarget(
|
|
|
|
name: "WebIdPluginCore",
|
2025-08-08 19:45:47 +02:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/experimental/de/webid-solutions/WebIdPluginCore/20.1.1/WebIdPluginCore.framework-v20.1.1-SNAPSHOT-326.zip",
|
|
|
|
checksum: "67f94d33952f092d6c03c568c5f025125fe878fac0ef3c1f61c3c348408f7b26"
|
2024-09-06 11:37:25 +02:00
|
|
|
),
|
|
|
|
.target(
|
|
|
|
name: "WebIdPluginCoreWrapper",
|
|
|
|
dependencies: [
|
|
|
|
.target(name: "WebIdPluginCore"),
|
|
|
|
// [target dependecies here]
|
|
|
|
|
|
|
|
.product(name: "WebIdUiKitComponents", package: "WebIdUiKitComponents"),
|
|
|
|
.product(name: "WebIdIosSdk", package: "WebIdIosSdk"),
|
|
|
|
]
|
|
|
|
)
|
|
|
|
],
|
|
|
|
swiftLanguageVersions: [SwiftVersion.v5]
|
|
|
|
)
|