-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (47 loc) · 1.45 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
36
37
38
39
40
41
42
43
44
45
46
47
48
// swift-tools-version:5.9
// swiftformat:disable all
import PackageDescription
let package = Package(
name: "SmartImages",
platforms: [
.iOS(.v13),
.macOS(.v11),
.macCatalyst(.v13),
.visionOS(.v1),
.tvOS(.v13),
.watchOS(.v6)
],
products: [
.library(name: "SmartImages", targets: ["SmartImages"])
],
dependencies: [
.package(url: "https://github.com/NikSativa/Threading.git", branch: "2.1.0"),
.package(url: "https://github.com/NikSativa/SpryKit.git", branch: "3.0.1")
],
targets: [
.target(name: "SmartImages",
dependencies: [
"Threading"
],
path: "Source",
resources: [
.process("PrivacyInfo.xcprivacy")
],
swiftSettings: [
.define("supportsVisionOS", .when(platforms: [.visionOS])),
]),
.testTarget(name: "SmartImagesTests",
dependencies: [
"SmartImages",
"SpryKit",
"Threading",
],
path: "Tests",
resources: [
.process("TestImages")
],
swiftSettings: [
.define("supportsVisionOS", .when(platforms: [.visionOS])),
])
]
)