-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPackage.swift
More file actions
35 lines (32 loc) · 1.02 KB
/
Package.swift
File metadata and controls
35 lines (32 loc) · 1.02 KB
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
30
31
32
33
34
35
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let tag = "v0.1.55"
let checksum = "273da44b44f6f47ee60471af771594f4103bdd4405b6b2f68ff5359d5a0eaf5a"
let url = "https://github.com/synonymdev/bitkit-core/releases/download/\(tag)/BitkitCore.xcframework.zip"
let package = Package(
name: "bitkitcore",
platforms: [
.iOS(.v15),
.macOS(.v12),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "BitkitCore",
targets: ["BitkitCoreFFI", "BitkitCore"]),
],
targets: [
.target(
name: "BitkitCore",
dependencies: ["BitkitCoreFFI"],
path: "./bindings/ios",
sources: ["bitkitcore.swift"]
),
.binaryTarget(
name: "BitkitCoreFFI",
url: url,
checksum: checksum
)
]
)