Skip to content

Commit 33702d1

Browse files
committed
Fix pod failing to find PusherTweetNacl library
1 parent 8347718 commit 33702d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/Helpers/Crypto.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import CryptoKit
22
import Foundation
3+
#if SWIFT_PACKAGE
34
import TweetNacl
5+
#else
6+
import PusherTweetNacl
7+
#endif
48

59
struct Crypto {
610

0 commit comments

Comments
 (0)