Skip to content

Commit dc4708b

Browse files
authored
Depend explicitly on dependencies – fixes 6.2 build (#236)
1 parent 234d745 commit dc4708b

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

Package.swift

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ let package = Package(
4040
.target(name: "APNSCore"),
4141
.target(name: "APNS"),
4242
.target(name: "APNSTestServer"),
43+
.product(name: "Crypto", package: "swift-crypto"),
44+
.product(name: "NIOPosix", package: "swift-nio"),
4345
]
4446
),
4547
.target(
@@ -51,9 +53,14 @@ let package = Package(
5153
.target(
5254
name: "APNS",
5355
dependencies: [
54-
.product(name: "Crypto", package: "swift-crypto"),
55-
.product(name: "AsyncHTTPClient", package: "async-http-client"),
5656
.target(name: "APNSCore"),
57+
.product(name: "AsyncHTTPClient", package: "async-http-client"),
58+
.product(name: "Crypto", package: "swift-crypto"),
59+
.product(name: "NIOFoundationCompat", package: "swift-nio"),
60+
.product(name: "NIOHTTP1", package: "swift-nio"),
61+
.product(name: "NIOPosix", package: "swift-nio"),
62+
.product(name: "NIOTLS", package: "swift-nio"),
63+
.product(name: "NIOSSL", package: "swift-nio-ssl"),
5764
]
5865
),
5966
.target(

Package@swift-5.10.swift

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ let package = Package(
4040
.target(name: "APNSCore"),
4141
.target(name: "APNS"),
4242
.target(name: "APNSTestServer"),
43+
.product(name: "Crypto", package: "swift-crypto"),
44+
.product(name: "NIOPosix", package: "swift-nio"),
4345
]
4446
),
4547
.target(
@@ -51,9 +53,14 @@ let package = Package(
5153
.target(
5254
name: "APNS",
5355
dependencies: [
54-
.product(name: "Crypto", package: "swift-crypto"),
55-
.product(name: "AsyncHTTPClient", package: "async-http-client"),
5656
.target(name: "APNSCore"),
57+
.product(name: "AsyncHTTPClient", package: "async-http-client"),
58+
.product(name: "Crypto", package: "swift-crypto"),
59+
.product(name: "NIOFoundationCompat", package: "swift-nio"),
60+
.product(name: "NIOHTTP1", package: "swift-nio"),
61+
.product(name: "NIOPosix", package: "swift-nio"),
62+
.product(name: "NIOTLS", package: "swift-nio"),
63+
.product(name: "NIOSSL", package: "swift-nio-ssl"),
5764
]
5865
),
5966
.target(

0 commit comments

Comments
 (0)