Just a demonstration of how to lay out a package for a swift executable that includes CommonCrypto
This project borrows almost entirely from other sources:
- @rnapier's RNCryptor.h, which copies in the contents of CommonCrypto.h. See his comment on this StackOverflow post for explanation
- David Wood's HMAC Swift implementation, ported to Swift 3
- @aciidb0mb3r's excellent post on Creating Objective-C and C++ packages using Swift Package Manager
swift build
.build/debug/swift