-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackage.swift
54 lines (51 loc) · 1.45 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
// swift-tools-version: 5.9
// swiftlint:disable explicit_acl explicit_top_level_acl
import PackageDescription
let package = Package(
name: "SimulatorServices",
platforms: [
.iOS(.v16),
.macOS(.v13),
.watchOS(.v9),
.macCatalyst(.v16),
.tvOS(.v16),
.visionOS(.v1)
],
products: [
.library(
name: "SimulatorServices",
targets: ["SimulatorServices"]
)
],
dependencies: [
.package(
url: "https://github.com/brightdigit/OSVer.git",
from: "1.0.0"
)
],
targets: [
.target(
name: "SimulatorServices",
dependencies: ["OSVer"],
swiftSettings: [
SwiftSetting.enableUpcomingFeature("BareSlashRegexLiterals"),
SwiftSetting.enableUpcomingFeature("ConciseMagicFile"),
SwiftSetting.enableUpcomingFeature("ExistentialAny"),
SwiftSetting.enableUpcomingFeature("ForwardTrailingClosures"),
SwiftSetting.enableUpcomingFeature("ImplicitOpenExistentials"),
SwiftSetting.enableUpcomingFeature("StrictConcurrency"),
SwiftSetting.enableUpcomingFeature("DisableOutwardActorInference"),
SwiftSetting.enableExperimentalFeature("StrictConcurrency")
]
),
.testTarget(
name: "SimulatorServicesTests",
dependencies: ["SimulatorServices"]
),
.testTarget(
name: "SimulatorServicesIntegrationTests",
dependencies: ["SimulatorServices"]
)
]
)
// swiftlint:enable explicit_acl explicit_top_level_acl