CommonCrypto module wrapper project for Xcode 8 and Swift 3
Clone / download this project. Add this project as a subproject to your swift framework / app by dragging .xcodeproj file a little below your main project in Xcode.
Build binary for each target which produces CommonCrypto.framework for each platform, then copy those *.framework files with their parent folders into your parent project via dropping them to Xcode and applying “Copy items if needed” checkbox (unselect any target membership though). If you drop them without folders Xcode will not allow to do that because their names are equivalent.
After you added it as a subproject or as binary frameworks into Xcode, just use "import CommonCrypto" statement in your target swift classes, now underlying CommonCrypto C API is available.