Skip to content

Commit 1bcd156

Browse files
authored
Update Package.swift
1 parent 937b5c6 commit 1bcd156

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Package.swift

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
import PackageDescription
22

3+
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
34
let package = Package(
45
name: "JWT",
56
dependencies: [
6-
.Package(url: "https://github.com/IBM-Swift/CommonCrypto", majorVersion: 0),
7+
.Package(url: "https://github.com/IBM-Swift/CommonCrypto.git", majorVersion: 0, minor: 1),
78
],
89
exclude: [
910
"Sources/HMACCryptoSwift.swift",
1011
]
1112
)
13+
#else
14+
let package = Package(
15+
name: "JWT",
16+
dependencies: [
17+
.Package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", majorVersion: 0, minor: 6),
18+
],
19+
exclude: [
20+
"Sources/HMACCommonCrypto.swift",
21+
]
22+
)
23+
#endif

0 commit comments

Comments
 (0)