-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPackage.swift
More file actions
29 lines (28 loc) · 974 Bytes
/
Package.swift
File metadata and controls
29 lines (28 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "orange-sdk",
platforms: [
.iOS(.v15),
.macOS(.v12),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "OrangeSDK",
targets: ["OrangeSDKFFI", "OrangeSDK"]),
],
targets: [
.target(
name: "OrangeSDK",
dependencies: ["OrangeSDKFFI"],
path: "bindings/swift/Sources/OrangeSDK"
),
.binaryTarget(
name: "OrangeSDKFFI",
url: "https://github.com/lightningdevkit/orange-sdk/releases/download/v0.1.0-alpha.1/OrangeSDKFFI.xcframework.zip",
checksum: "bd7b1e77d2a86776f81f2d7d73eef7844e3351530aee66707267c3b584f3f9ab"
)
]
)