-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
57 lines (54 loc) · 1.54 KB
/
Package.swift
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// swift-tools-version:5.7.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "swift-based-client",
platforms: [
.iOS(.v15), .macOS(.v12),
],
products: [
.library(
name: "BasedClient",
type: .dynamic,
targets: ["BasedClient"])
],
targets: [
.binaryTarget(
name: "Based",
url: "https://github.com/atelier-saulx/based-universal/releases/download/v2.1.6/based-universal-v2.1.6-xcframework.zip",
checksum: "40d1d754633942985f01253db14b10bde4534ad85538f1f0dc80c20305356eb4"
),
.target(
name: "BasedOBJCWrapper",
dependencies: [
.target(name: "Based")
],
path: "Sources/BasedOBJCWrapper"
),
.target(
name: "NakedJson"
),
.testTarget(
name: "NakedJsonTests",
dependencies: [
"NakedJson",
]
),
.target(
name: "BasedClient",
dependencies: [
.target(name: "BasedOBJCWrapper"),
.target(name: "NakedJson"),
]
),
.testTarget(
name: "BasedClientTests",
dependencies: [
"BasedClient",
.target(name: "BasedOBJCWrapper"),
.target(name: "NakedJson"),
]
)
],
cxxLanguageStandard: .gnucxx20
)