47 lines
1.8 KiB
Swift
47 lines
1.8 KiB
Swift
|
// 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: "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: "WebIdSdkUiKitComponents",
|
||
|
url: "https://api.webid-solutions.de/releases/ios/xcframework/redesign-v4-snapshots/de/webid-solutions/WebIdSdkUiKitComponents/9.1.1/WebIdSdkUiKitComponents.framework-v9.1.1-SNAPSHOT-154.zip",
|
||
|
checksum: "d153181f7190b64a2ef1cbb1dcca2d0d93e6fe833d8b76cd9946c4475680e3f5"
|
||
|
),
|
||
|
.target(
|
||
|
name: "WebIdSdkUiKitComponentsWrapper",
|
||
|
dependencies: [
|
||
|
.target(name: "WebIdSdkUiKitComponents"),
|
||
|
// [target dependecies here]
|
||
|
|
||
|
.product(name: "WebIdUiKitComponents", package: "WebIdUiKitComponents"),
|
||
|
.product(name: "WebIdIosSdk", package: "WebIdIosSdk"),
|
||
|
]
|
||
|
)
|
||
|
],
|
||
|
swiftLanguageVersions: [SwiftVersion.v5]
|
||
|
)
|