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

47 lines
1.8 KiB
Swift
Raw Normal View History

2024-08-02 01:23:35 +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",
.branch("redesign-v4-snapshots")
),
.package(
name: "WebIdIosSdk",
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-spm.git",
.upToNextMinor(from: "11.0.0")
)
],
targets: [
.binaryTarget(
name: "WebIdPluginCore",
2024-08-02 14:06:13 +02:00
url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4-snapshots/de/webid-solutions/WebIdPluginCore/12.0.0/WebIdPluginCore.framework-v12.0.0-SNAPSHOT-256.zip",
2024-08-09 17:22:09 +02:00
checksum: "2254b1b99ed14bd67095e724555507c67137b81a6b707b13860705fe2b51e9d3"
2024-08-02 01:23:35 +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]
)