-
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (47 loc) · 1.87 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
49
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "swift-apple-search-ads-api",
platforms: [
.iOS(.v16),
.tvOS(.v16),
.visionOS(.v1),
.macOS(.v13),
.macCatalyst(.v16),
.watchOS(.v9)
],
products: [
.library(name: "AppleSearchAds", targets: ["AppleSearchAds"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-crypto", from: "3.10.0"),
.package(url: "https://github.com/fumoboy007/swift-retry", from: "0.2.4"),
.package(url: "https://github.com/CreateAPI/URLQueryEncoder", from: "0.2.1"),
.package(url: "https://github.com/pointfreeco/swift-clocks", from: "1.0.6"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.17.6"),
.package(url: "https://github.com/Flight-School/AnyCodable", from: "0.6.7")
],
targets: [
.target(
name: "AppleSearchAds",
dependencies: [
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "DMRetry", package: "swift-retry"),
.product(name: "AnyCodable", package: "AnyCodable"),
.product(name: "URLQueryEncoder", package: "URLQueryEncoder")
],
resources: [.copy("Resources/PrivacyInfo.xcprivacy")],
swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]
),
.testTarget(
name: "AppleSearchAdsTests",
dependencies: [
.target(name: "AppleSearchAds"),
.product(name: "Clocks", package: "swift-clocks"),
.product(name: "SnapshotTesting", package: "swift-snapshot-testing"),
.product(name: "InlineSnapshotTesting", package: "swift-snapshot-testing")
]
)
],
swiftLanguageVersions: [.v5]
)