6
0
webid-plugin-core-spm/Package.swift

47 lines
1.7 KiB
Swift
Raw Normal View History

2024-03-19 13:44:31 +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: "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/SwiftPackages/webid-ui-components-spm.git",
.upToNextMinor(from: "6.0.0")
),
.package(
name: "WebIdIosSdk",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-spm.git",
.upToNextMinor(from: "9.0.0")
)
],
targets: [
.binaryTarget(
name: "WebIdPluginCore",
2024-04-17 13:36:28 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/internal/de/webid-solutions/WebIdPluginCore/10.1.0/WebIdPluginCore.framework-v10.1.0.zip",
checksum: "45cb393b4fe23a43dfdb33ee58cd814b61be81a3fa5bd8327c743e5d7a70260a"
2024-03-19 13:44:31 +01:00
),
.target(
name: "WebIdPluginCoreWrapper",
dependencies: [
.target(name: "WebIdPluginCore"),
// [target dependecies here]
.product(name: "WebIdUiKitComponents", package: "WebIdUiKitComponents"),
.product(name: "WebIdIosSdk", package: "WebIdIosSdk"),
]
)
],
swiftLanguageVersions: [SwiftVersion.v5]
)