Skip to content

Commit abcdff7

Browse files
authored
Merge pull request #454 from pusher/update-tweetnacl
Fix pod failing to find PusherTweetNacl library
2 parents 8347718 + 33702d1 commit abcdff7

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)