How to use CommonCrypto in iOS
Issue #480 Use modulemap modulemap approach I use modulemap in my wrapper around CommonCrypto https://github.com/onmyway133/arcane, https://github.com/onmyway133/Reindeer For those getting header not found, please take a look https://github.com/onmyway133/Arcane/issues/4 or run xcode-select --install Make a folder CCommonCrypto containing module.modulemap module CCommonCrypto { header "/usr/include/CommonCrypto/CommonCrypto.h" export * } Go to Built Settings -> Import Paths ${SRCROOT}/Sources/CCommonCrypto Cocoapods with modulemap approach Here is the podspec https://github.com/onmyway133/Arcane/blob/master/Arcane.podspec s.source_files = 'Sources/**/*.swift' s.xcconfig = { 'SWIFT_INCLUDE_PATHS' => '$(PODS_ROOT)/CommonCryptoSwift/Sources/CCommonCrypto' } s....