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",
|
2024-09-12 22:10:53 +02:00
|
|
|
.branch("redesign-v4-snapshots")
|
2024-08-02 01:23:35 +02:00
|
|
|
),
|
|
|
|
.package(
|
|
|
|
name: "WebIdIosSdk",
|
|
|
|
url: "https://api.webid-solutions.de/releases/ios/spm/SwiftPackages/webid-sdk-spm.git",
|
2024-09-06 12:25:21 +02:00
|
|
|
.upToNextMinor(from: "11.1.0")
|
2024-08-02 01:23:35 +02:00
|
|
|
)
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.binaryTarget(
|
|
|
|
name: "WebIdPluginCore",
|
2024-09-25 14:54:18 +02:00
|
|
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4-snapshots/de/webid-solutions/WebIdPluginCore/13.0.2/WebIdPluginCore.framework-v13.0.2-SNAPSHOT-262.zip",
|
|
|
|
checksum: "02e366b05d147d95b023276465b5e32666ee8fbf5ef210feb00b83f8e38d95a9"
|
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]
|
|
|
|
)
|