-
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.54"
let checksum = "8ca81d51d6d9f66ef3c33f81969d07221c21744d131f907be2006d87a807ed05"
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
)
]
)